[fdbserver][sim] Remove timeout reset in ClogTlog test (#11698)
This commit is contained in:
parent
91222bd9b1
commit
ceec943300
|
@ -129,16 +129,13 @@ struct ClogTlogWorkload : TestWorkload {
|
|||
}
|
||||
|
||||
ACTOR static Future<Void> excludeFailedLog(ClogTlogWorkload* self, Database cx) {
|
||||
state Future<Void> timeout = delay(30);
|
||||
|
||||
loop choose {
|
||||
when(wait(self->dbInfo->onChange())) {
|
||||
if (self->dbInfo->get().recoveryState >= RecoveryState::ACCEPTING_COMMITS) {
|
||||
return Void();
|
||||
}
|
||||
timeout = delay(30);
|
||||
}
|
||||
when(wait(timeout)) {
|
||||
when(wait(delay(30))) {
|
||||
// recovery state hasn't changed in 30s, exclude the failed tlog
|
||||
CODE_PROBE(true, "Exclude failed tlog");
|
||||
TraceEvent("ExcludeFailedLog")
|
||||
|
|
Loading…
Reference in New Issue