Skip to content

Commit

Permalink
test: fix broken assumption of scaledown on abort in e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Suen <jesse_suen@intuit.com>
  • Loading branch information
jessesuen committed Jul 27, 2021
1 parent e5a933d commit fbc1246
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/istio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit fbc1246

Please sign in to comment.