From 6b55925c85e09a36bf1bed1b27e2825989fe8c82 Mon Sep 17 00:00:00 2001
From: Maxb <bittmanmax@gmail.com>
Date: Wed, 19 Mar 2025 14:14:41 -0700
Subject: [PATCH] Fix port error in menshen-agent integration test

---
 scripts/integration-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/integration-test.sh b/scripts/integration-test.sh
index 9e8636b..8348113 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
-- 
GitLab