16068: Fix controllerUrl in integration test script.
authorStephen Smith <stephen@curii.com>
Tue, 19 Apr 2022 18:13:36 +0000 (14:13 -0400)
committerStephen Smith <stephen@curii.com>
Tue, 19 Apr 2022 18:19:17 +0000 (14:19 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

tools/run-integration-tests.sh

index 6a6177a4a27791798f39b7d92be9d3a60bc08dc4..0a9a0fc42adcf369da404fee334726d4b46bb05e 100755 (executable)
@@ -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]}