From d7b37e3c6e1e78bd7ddea59bb5173bf19d3067cf Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" Date: Mon, 2 Nov 2020 11:14:48 -0600 Subject: [PATCH] fix envoy integ test wait_for_namespace to actually work on CI (#9082) --- test/integration/connect/envoy/helpers.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/connect/envoy/helpers.bash b/test/integration/connect/envoy/helpers.bash index fce83cb454..ddbd8a2200 100755 --- a/test/integration/connect/envoy/helpers.bash +++ b/test/integration/connect/envoy/helpers.bash @@ -687,7 +687,8 @@ function read_config_entry { } function wait_for_namespace { - retry_default curl -sL -f "http://127.0.0.1:8500/v1/namespace/${1}" >/dev/null + local DC=${1:-primary} + retry_default docker_curl "$DC" -sLf "http://127.0.0.1:8500/v1/namespace/${1}" >/dev/null } function wait_for_config_entry {