From: Stephen Smith Date: Tue, 19 Apr 2022 18:13:36 +0000 (-0400) Subject: 16068: Fix controllerUrl in integration test script. X-Git-Tag: 2.4.1~1^2~8^2~1 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/1bb147efcf6a17c0b4237c790757dd54994005b2 16068: Fix controllerUrl in integration test script. Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/tools/run-integration-tests.sh b/tools/run-integration-tests.sh index 6a6177a4..0a9a0fc4 100755 --- a/tools/run-integration-tests.sh +++ b/tools/run-integration-tests.sh @@ -118,7 +118,8 @@ coproc arvboot (~/go/bin/arvados-server boot \ -timeout 20m 2> ${ARVADOS_LOG}) trap cleanup ERR EXIT -read controllerURL <&"${arvboot[0]}" || exit 1 +read controllerInfo <&"${arvboot[0]}" || exit 1 +controllerURL=`echo "$controllerInfo" | awk '{print $1;}'`; echo "Arvados up and running at ${controllerURL}" IFS='/' ; read -ra controllerHostPort <<< "${controllerURL}" ; unset IFS controllerHostPort=${controllerHostPort[2]}