diff --git a/scripts/integration-test.sh b/scripts/integration-test.sh index 9e8636b801c9e272d226388d8b56b1097d6113ae..8348113a7a54cfc8a61b3d59edeec5ec7917a81a 100755 --- a/scripts/integration-test.sh +++ b/scripts/integration-test.sh @@ -90,7 +90,7 @@ docker compose -p "$mode" --env-file $env_file exec client ndt7-client -quiet | if [[ "$LIVE_TEST" == "0" ]]; then echo "Testing menshen-agent registration" | tee -a $logfile - if docker compose -p "$mode" exec obfsvpn-1 wget -qO- http://menshen:8443/api/5/bridges | jq ".[0]" | grep -q '"healthy": true' + if docker compose -p "$mode" exec obfsvpn-1 wget -qO- "http://menshen:${MENSHEN_PORT}/api/5/bridges" | jq ".[0]" | grep -q '"healthy": true' then echo "menshen-agent registration successful" | tee -a $logfile else