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

View File

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