From fbc1246e9d7e776125a1a4f528678a5950c0c3dd Mon Sep 17 00:00:00 2001 From: Jesse Suen Date: Tue, 27 Jul 2021 15:24:17 -0700 Subject: [PATCH] test: fix broken assumption of scaledown on abort in e2e test Signed-off-by: Jesse Suen --- test/e2e/istio_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/e2e/istio_test.go b/test/e2e/istio_test.go index 6316d67c29..8d63093fed 100644 --- a/test/e2e/istio_test.go +++ b/test/e2e/istio_test.go @@ -250,6 +250,7 @@ func (s *IstioSuite) TestIstioAbortUpdateDeleteAllCanaryPods() { AbortRollout(). WaitForRolloutStatus("Degraded"). Then(). - ExpectRevisionPodCount("2", 0). - ExpectRevisionPodCount("1", 5) + ExpectRevisionPodCount("1", 5). + ExpectRevisionPodCount("2", 4). // canary pods remained scaled + ExpectRevisionScaleDown("2", true) // but have a scale down delay }