Skip to content

Commit

Permalink
Fix race in extended deployments test "should deal with cancellation …
Browse files Browse the repository at this point in the history
…after deployer pod succeeded"
  • Loading branch information
tnozicka committed Dec 19, 2017
1 parent 99d5bc8 commit 84cdf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/extended/deployments/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ var _ = g.Describe("[Feature:DeploymentConfig] deploymentconfigs", func() {

// Wait for deployment pod to be running
_, err = waitForRCModification(oc, namespace, appsutil.LatestDeploymentNameForConfig(dc), deploymentRunTimeout,
"", func(currentRC *kapiv1.ReplicationController) (bool, error) {
rc.ResourceVersion, func(currentRC *kapiv1.ReplicationController) (bool, error) {
if appsutil.DeploymentStatusFor(currentRC) == appsapi.DeploymentStatusRunning {
return true, nil
}
Expand Down

0 comments on commit 84cdf40

Please sign in to comment.