TeamCollectionTest:Do not enforce minServerTeamOnServer larger than 0

In ConfigureTest, one server may be left with 0 server teams, even if
we call buildTeams in the storageServerTracker.
This commit is contained in:
Meng Xu 2019-06-26 19:33:38 -07:00
parent c23d89c98a
commit cc6a0e9bcd
2 changed files with 1 additions and 2 deletions

View File

@ -305,7 +305,6 @@ ACTOR Future<bool> getTeamCollectionValid(Database cx, WorkerInterface dataDistr
// The if condition should be consistent with the condition in teamRemover() that decides
// if redundant teams exist.
if (healthyMachineTeamCount > desiredMachineTeamNumber ||
minServerTeamOnServer <= 0 ||
minMachineTeamOnMachine <= 0 ) {
TraceEvent("GetTeamCollectionValid")
.detail("CurrentTeamNumber", currentTeamNumber)