diff --git a/tests/regression/router-sanitizer.sh b/tests/regression/router-sanitizer.sh index 68b1a2aa..77adff31 100644 --- a/tests/regression/router-sanitizer.sh +++ b/tests/regression/router-sanitizer.sh @@ -33,7 +33,7 @@ for ((i = 0; i < ${#SAN_OPTIONS[@]}; i++)); do done <<<$(nc -U -l $socket | tr '\0' '\n') echo "==============TA has successfully started==============" - python3 tests/regression/runner.py ${remaining_args} --url localhost:${TA_PORT} + python3 tests/regression/runner.py ${remaining_args} --url ${TA_HOST}:${TA_PORT} rc=$? if [ $rc -ne 0 ]; then diff --git a/tests/regression/run-api.sh b/tests/regression/run-api.sh index 2e348ddd..6cf84e83 100755 --- a/tests/regression/run-api.sh +++ b/tests/regression/run-api.sh @@ -35,7 +35,7 @@ for ((i = 0; i < ${#OPTIONS[@]}; i++)); do done <<<$(nc -U -l $socket | tr '\0' '\n') echo "==============TA has successfully started==============" - python3 tests/regression/runner.py ${remaining_args} --url localhost:${TA_PORT} + python3 tests/regression/runner.py ${remaining_args} --url ${TA_HOST}:${TA_PORT} rc=$? if [ $rc -ne 0 ]; then