setup the MGS after each test call
This commit is contained in:
parent
4691a35215
commit
1816e5caa8
|
@ -319,6 +319,7 @@ struct IDDTxnProcessorApiWorkload : TestWorkload {
|
||||||
|
|
||||||
verifyInitDataEqual(self->realInitDD, mockInitData);
|
verifyInitDataEqual(self->realInitDD, mockInitData);
|
||||||
TraceEvent(SevDebug, relocateShardInterval.end(), relocateShardInterval.pairID);
|
TraceEvent(SevDebug, relocateShardInterval.end(), relocateShardInterval.pairID);
|
||||||
|
self->mock->setupMockGlobalState(self->realInitDD); // in case SS remove or recruit
|
||||||
return Void();
|
return Void();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -383,6 +384,7 @@ struct IDDTxnProcessorApiWorkload : TestWorkload {
|
||||||
|
|
||||||
verifyInitDataEqual(self->realInitDD, mockInitData);
|
verifyInitDataEqual(self->realInitDD, mockInitData);
|
||||||
TraceEvent(SevDebug, relocateShardInterval.end(), relocateShardInterval.pairID);
|
TraceEvent(SevDebug, relocateShardInterval.end(), relocateShardInterval.pairID);
|
||||||
|
self->mock->setupMockGlobalState(self->realInitDD); // in case SS remove or recruit
|
||||||
return Void();
|
return Void();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue