diff --git a/cmd/karma/tests/testscript/083_metrics.txt b/cmd/karma/tests/testscript/083_metrics.txt index 00b28b322..b98bccd7f 100644 --- a/cmd/karma/tests/testscript/083_metrics.txt +++ b/cmd/karma/tests/testscript/083_metrics.txt @@ -134,5 +134,5 @@ level=info msg="Removing PID file" path=karma.pid -- test.sh -- while [ ! -f karma.pid ]; do sleep 1 ; done sleep 5 -curl -s http://localhost:8083/metrics | grep -vE 'process_|go_info' | perl -pe "s/^([a-zA-Z].+)[ ]([0-9\.\-\+eE]+)$/\1/g" > curl.txt +curl -s http://127.0.0.1:8083/metrics | grep -vE 'process_|go_info' | perl -pe "s/^([a-zA-Z].+)[ ]([0-9\.\-\+eE]+)$/\1/g" > curl.txt cat karma.pid | xargs kill diff --git a/cmd/karma/tests/testscript/085_debug.txt b/cmd/karma/tests/testscript/085_debug.txt index 003cef36e..6c93ef67c 100644 --- a/cmd/karma/tests/testscript/085_debug.txt +++ b/cmd/karma/tests/testscript/085_debug.txt @@ -27,6 +27,6 @@ level=info msg="Removing PID file" path=karma.pid -- test.sh -- while [ ! -f karma.pid ]; do sleep 1 ; done sleep 1 -curl -s -o heap.gz http://localhost:8085/debug/pprof/heap +curl -s -o heap.gz http://127.0.0.1:8085/debug/pprof/heap cat karma.pid | xargs kill gzip -d heap.gz || exit 1 diff --git a/cmd/karma/tests/testscript/108_alert_history_proxy_url.txt b/cmd/karma/tests/testscript/108_alert_history_proxy_url.txt index 0c76fe7f8..0c49eb540 100644 --- a/cmd/karma/tests/testscript/108_alert_history_proxy_url.txt +++ b/cmd/karma/tests/testscript/108_alert_history_proxy_url.txt @@ -51,7 +51,7 @@ history: rewrite: - source: '(.*)' uri: '$1' - proxy_url: http://localhost:9108 + proxy_url: http://127.0.0.1:9108 -- test.sh -- while [ ! -f karma.pid ]; do sleep 1 ; done sleep 5