diff --git a/test/integration/connect/envoy/helpers.bash b/test/integration/connect/envoy/helpers.bash index 2a1c5151fa..bbe933a724 100755 --- a/test/integration/connect/envoy/helpers.bash +++ b/test/integration/connect/envoy/helpers.bash @@ -684,6 +684,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 }