Skip to content

Commit 84cdf40

Browse files
committed
Fix race in extended deployments test "should deal with cancellation after deployer pod succeeded"
1 parent 99d5bc8 commit 84cdf40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extended/deployments/deployments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ var _ = g.Describe("[Feature:DeploymentConfig] deploymentconfigs", func() {
13591359

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

0 commit comments

Comments
 (0)