mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-22 23:19:02 +08:00
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:
parent
fe338ced8f
commit
23b51e34fd
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user