From 1bb147efcf6a17c0b4237c790757dd54994005b2 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Tue, 19 Apr 2022 14:13:36 -0400 Subject: [PATCH] 16068: Fix controllerUrl in integration test script. Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- tools/run-integration-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/run-integration-tests.sh b/tools/run-integration-tests.sh index 6a6177a4a2..0a9a0fc42a 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]} -- 2.30.2