Added size assertion in test workload
This commit is contained in:
parent
f7b3686fc7
commit
3de7ae5b0c
|
@ -461,6 +461,7 @@ struct RemoveServersSafelyWorkload : TestWorkload {
|
|||
.detail("Removing", removeServer->toString());
|
||||
toKillMarkFailedArray.erase(removeServer);
|
||||
}
|
||||
ASSERT(toKillMarkFailedArray.size() <= toKillArray.size());
|
||||
auto removeServer = toKill.begin();
|
||||
TraceEvent("RemoveAndKill", functionId)
|
||||
.detail("Step", "ReplaceNonFailedKillSet")
|
||||
|
|
Loading…
Reference in New Issue