Fix spurious test failure

The timed_out error, if happens, could cause the test to fail, even though
there is nothing wrong with the database.
This commit is contained in:
Jingyu Zhou 2022-04-18 21:57:00 -07:00
parent fe338ced8f
commit 23b51e34fd
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ struct DataLossRecoveryWorkload : TestWorkload {
} else {
tr.clear(key);
}
wait(timeoutError(tr.commit(), 30.0));
wait(tr.commit());
break;
} catch (Error& e) {
wait(tr.onError(e));