From 31b1a4c0ba0e1ff893459254dcfdd06c7a2ba2f0 Mon Sep 17 00:00:00 2001 From: Augusto Date: Wed, 1 Jan 2025 22:24:52 +0100 Subject: [PATCH] Adding the correct waitforsut directive --- retorchfiles/configurations/retorchCI.properties | 2 +- retorchfiles/scripts/waitforSUT.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retorchfiles/configurations/retorchCI.properties b/retorchfiles/configurations/retorchCI.properties index 108c802..08e423a 100644 --- a/retorchfiles/configurations/retorchCI.properties +++ b/retorchfiles/configurations/retorchCI.properties @@ -1,5 +1,5 @@ agentCIName=xretorch-agent -sut-wait-html=
+sut-wait-html=
sut-location=$WORKSPACE/sut/src docker-frontend-name=http://webmvc_ docker-frontend-port=80 diff --git a/retorchfiles/scripts/waitforSUT.sh b/retorchfiles/scripts/waitforSUT.sh index 164c693..f05a761 100644 --- a/retorchfiles/scripts/waitforSUT.sh +++ b/retorchfiles/scripts/waitforSUT.sh @@ -10,7 +10,7 @@ DOCKER_HOST_IP=$(/sbin/ip route | awk '/default/ { print $3 }') COUNTER=0 WAIT_LIMIT=40 -while ! curl --insecure -s "http://webmvc_$1:80" | grep -q "
"; do +while ! curl --insecure -s "http://webmvc_$1:80" | grep -q "
"; do "$SCRIPTS_FOLDER/printLog.sh" "DEBUG" "TJob-$1-set-up" "Waiting $COUNTER seconds for $1 with URL http://webmvc_$1:80" sleep 5 ((COUNTER++))