diff --git a/test/integration/connect/envoy/helpers.bash b/test/integration/connect/envoy/helpers.bash index 5b103678d2..fadbf21372 100755 --- a/test/integration/connect/envoy/helpers.bash +++ b/test/integration/connect/envoy/helpers.bash @@ -574,6 +574,10 @@ function read_config_entry { docker_consul "$DC" config read -kind $KIND -name $NAME } +function wait_for_namespace { + retry_default curl -sL -f "http://127.0.0.1:8500/v1/namespace/${1}" >/dev/null +} + function wait_for_config_entry { retry_default read_config_entry "$@" >/dev/null }