setup the MGS after each test call

This commit is contained in:
Xiaoxi Wang 2022-11-10 15:22:01 -08:00
parent 4691a35215
commit 1816e5caa8
1 changed files with 2 additions and 0 deletions

View File

@ -319,6 +319,7 @@ struct IDDTxnProcessorApiWorkload : TestWorkload {
verifyInitDataEqual(self->realInitDD, mockInitData);
TraceEvent(SevDebug, relocateShardInterval.end(), relocateShardInterval.pairID);
self->mock->setupMockGlobalState(self->realInitDD); // in case SS remove or recruit
return Void();
}
@ -383,6 +384,7 @@ struct IDDTxnProcessorApiWorkload : TestWorkload {
verifyInitDataEqual(self->realInitDD, mockInitData);
TraceEvent(SevDebug, relocateShardInterval.end(), relocateShardInterval.pairID);
self->mock->setupMockGlobalState(self->realInitDD); // in case SS remove or recruit
return Void();
}