fix: envoy shutdown flaky test#3646
Conversation
Signed-off-by: Guy Daich <[email protected]>
|
the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3646 +/- ##
==========================================
+ Coverage 68.27% 68.30% +0.03%
==========================================
Files 170 170
Lines 20760 20760
==========================================
+ Hits 14174 14181 +7
+ Misses 5566 5560 -6
+ Partials 1020 1019 -1 ☔ View full report in Codecov by Sentry. |
delay readdiness to allow XDS sync Signed-off-by: Guy Daich <[email protected]> Signed-off-by: “bjlhlin” <“[email protected]”> Signed-off-by: bjlhlin <[email protected]>
delay readdiness to allow XDS sync Signed-off-by: Guy Daich <[email protected]> Signed-off-by: bjlhlin <[email protected]>
What this PR does / why we need it:
This PR delays readiness of envoy to allow XDS sync as discussed in #2810. This is done specifically for the upgrade test suite gateway class.
Test flakiness seems to be related to 404 responses in early stages of the load test, which likely indicates that new proxy instances are ready before being programmed.
--- FAIL: TestEGUpgrade (230.50s) --- PASS: TestEGUpgrade/EGUpgrade (152.90s) --- PASS: TestEGUpgrade/EGUpgrade/Upgrade_from_an_older_eg_release_should_succeed (152.89s) --- FAIL: TestEGUpgrade/EnvoyShutdown (68.06s) --- FAIL: TestEGUpgrade/EnvoyShutdown/All_requests_must_succeed (68.04s) utils.go:176: failed to create load: error 404 for http://172.18.255.208/envoy-shutdown (82 bytes) utils.go:185: Load completed after 0s with 2 requests, 0 success, 2 failures and 2 errorsWhich issue(s) this PR fixes:
Fixes #3262