test: possibly fix flaky TestEnvoy/case-ingress-gateway-multiple-services test (#15034)

The integration test TestEnvoy/case-ingress-gateway-multiple-services is flaky
and this possibly reduces the flakiness by explicitly waiting for services to show
up in the catalog as healthy before waiting for them to show up in envoy as
healthy which gives it just a bit more time to sync.
This commit is contained in:
R.B. Boyer 2022-10-18 14:23:52 -05:00 committed by GitHub
parent 29a297d3e9
commit c3fa46c3f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,14 @@ load helpers
assert_proxy_presents_cert_uri localhost:21001 s2
}
@test "s1 proxies should be healthy" {
assert_service_has_healthy_instances s1 1
}
@test "s2 proxies should be healthy" {
assert_service_has_healthy_instances s2 1
}
@test "ingress-gateway should have healthy endpoints for s1" {
assert_upstream_has_endpoints_in_status 127.0.0.1:20000 s1 HEALTHY 1
}