1
0
Fork 0

waste less time

This commit is contained in:
Jan Christoph Uhde 2019-11-27 16:03:40 +01:00
parent 6d662eaf44
commit ee3d143935
1 changed files with 2 additions and 2 deletions

View File

@ -93,10 +93,10 @@ function DeadlockSuite () {
// wait until task is started // wait until task is started
while(db.UnitTestsDeadlock3.count() === 0) { while(db.UnitTestsDeadlock3.count() === 0) {
internal.sleep(1); internal.sleep(0.1);
} }
// wait a bit longer to make sure the transaction is started // wait a bit longer to make sure the transaction is started
internal.sleep(2); internal.sleep(1);
// start transaction that will fail // start transaction that will fail
db._executeTransaction({ db._executeTransaction({