Skip to content

Commit

Permalink
Enable back the old check for multiple deployer pods temporarily disa…
Browse files Browse the repository at this point in the history
…bled in openshift#16956
  • Loading branch information
tnozicka committed Oct 24, 2017
1 parent 164864c commit b5360a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/extended/deployments/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,9 @@ func checkDeploymentInvariants(dc *deployapi.DeploymentConfig, rcs []*kapiv1.Rep
running.Insert(k)
}
}
// FIXME: enable this check when we fix the controllers
//if running.Len() > 1 {
// return fmt.Errorf("found multiple running deployments: %v", running.List())
//}
if running.Len() > 1 {
return fmt.Errorf("found multiple running deployments: %v", running.List())
}
sawStatus := sets.NewString()
statuses := []string{}
for _, rc := range rcs {
Expand Down

0 comments on commit b5360a8

Please sign in to comment.