From b762c3acde7f7b0c7e90f66b7e78ed451ab433cd Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Mon, 1 Sep 2025 23:43:50 +1000 Subject: [PATCH] ci: don't restart portal at the beginning of the test (#10274) Restarting the portal at the beginning of the test is useless. We haven't made any connections yet so restarting it will just get us back to the same state that we are already in. --- scripts/tests/direct-curl-api-restart.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/tests/direct-curl-api-restart.sh b/scripts/tests/direct-curl-api-restart.sh index 020075189..e834f7fc5 100755 --- a/scripts/tests/direct-curl-api-restart.sh +++ b/scripts/tests/direct-curl-api-restart.sh @@ -2,12 +2,10 @@ source "./scripts/tests/lib.sh" +client_curl_resource "172.20.0.100/get" +client_curl_resource "[172:20:0::100]/get" + docker compose restart api # Restart portal client_curl_resource "172.20.0.100/get" client_curl_resource "[172:20:0::100]/get" - -docker compose restart api # Restart again - -client_curl_resource "172.20.0.100/get" -client_curl_resource "[172:20:0::100]/get"