From cc2550c4e1546fe41e7370c0b25fa11e44ca6bdd Mon Sep 17 00:00:00 2001 From: Michail Kargakis Date: Thu, 13 Oct 2016 18:14:45 +0200 Subject: [PATCH] e2e: don't require minimum availability once scaling takes place --- test/e2e/deployment.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/e2e/deployment.go b/test/e2e/deployment.go index 5a242c5a27e..8c1794db191 100644 --- a/test/e2e/deployment.go +++ b/test/e2e/deployment.go @@ -1166,8 +1166,6 @@ func testScaledRolloutDeployment(f *framework.Framework) { By(fmt.Sprintf("Waiting for deployment status to sync (current available: %d, minimum available: %d)", deployment.Status.AvailableReplicas, deploymentutil.MinAvailable(deployment))) err = framework.WaitForDeploymentStatusValid(c, deployment) Expect(err).NotTo(HaveOccurred()) - err = framework.WaitForDeploymentStatus(c, deployment) - Expect(err).NotTo(HaveOccurred()) // Update the deployment with a non-existent image so that the new replica set will be blocked. By(fmt.Sprintf("Updating deployment %q with a non-existent image", deploymentName)) @@ -1227,8 +1225,6 @@ func testScaledRolloutDeployment(f *framework.Framework) { By(fmt.Sprintf("Waiting for deployment status to sync (current available: %d, minimum available: %d)", deployment.Status.AvailableReplicas, deploymentutil.MinAvailable(deployment))) err = framework.WaitForDeploymentStatusValid(c, deployment) Expect(err).NotTo(HaveOccurred()) - err = framework.WaitForDeploymentStatus(c, deployment) - Expect(err).NotTo(HaveOccurred()) } func testOverlappingDeployment(f *framework.Framework) {