File tree 1 file changed +5
-5
lines changed
test/integration/connect/envoy
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -358,10 +358,10 @@ function snapshot_envoy_admin {
358
358
local OUTDIR=" ${LOG_DIR} /envoy-snapshots/${DC} /${ENVOY_NAME} "
359
359
360
360
mkdir -p " ${OUTDIR} "
361
- docker_wget " $DC " -s " http://${HOSTPORT} /config_dump" > " ${OUTDIR} /config_dump.json"
362
- docker_wget " $DC " -s " http://${HOSTPORT} /clusters?format=json" > " ${OUTDIR} /clusters.json"
363
- docker_wget " $DC " -s " http://${HOSTPORT} /stats" > " ${OUTDIR} /stats.txt"
364
- docker_wget " $DC " -s " http://${HOSTPORT} /stats/prometheus" > " ${OUTDIR} /stats_prometheus.txt"
361
+ docker_consul_exec " $DC " bash -c " curl -s http://${HOSTPORT} /config_dump" > " ${OUTDIR} /config_dump.json"
362
+ docker_consul_exec " $DC " bash -c " curl -s http://${HOSTPORT} /clusters?format=json" > " ${OUTDIR} /clusters.json"
363
+ docker_consul_exec " $DC " bash -c " curl -s http://${HOSTPORT} /stats" > " ${OUTDIR} /stats.txt"
364
+ docker_consul_exec " $DC " bash -c " curl -s http://${HOSTPORT} /stats/prometheus" > " ${OUTDIR} /stats_prometheus.txt"
365
365
}
366
366
367
367
function reset_envoy_metrics {
@@ -830,7 +830,7 @@ function wait_for_namespace {
830
830
local NS=" ${1} "
831
831
local DC=${2:- primary}
832
832
get_consul_hostname $DC
833
- retry_default docker_curl " $DC " -sLf " http://${CONSUL_HOSTNAME} :8500/v1/namespace/${NS} " > /dev/null
833
+ retry_default docker_consul_exec " $DC " bash -c " curl -sLf http://${CONSUL_HOSTNAME} :8500/v1/namespace/${NS} >/dev/null"
834
834
}
835
835
836
836
function wait_for_config_entry {
You can’t perform that action at this time.
0 commit comments