fix envoy integ test wait_for_namespace to actually work on CI (#9082)

This commit is contained in:
R.B. Boyer 2020-11-02 11:14:48 -06:00 committed by GitHub
parent 0fa484ae8f
commit cf5e9872ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 {