From c7746f9463e7c709174eb8998335332bb9b263ce Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Mon, 27 Apr 2015 10:41:28 -0700 Subject: [PATCH] use godep go run everywhere in tests Signed-off-by: Victor Vieux --- test/integration/helpers.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/helpers.bash b/test/integration/helpers.bash index 9984afe13a..11514a58cd 100644 --- a/test/integration/helpers.bash +++ b/test/integration/helpers.bash @@ -45,7 +45,7 @@ function swarm_manage() { discovery="$@" fi - ${SWARM_ROOT}/swarm manage -H $SWARM_HOST $discovery & + swarm manage -H $SWARM_HOST $discovery & SWARM_PID=$! wait_until_reachable $SWARM_HOST } @@ -55,7 +55,7 @@ function swarm_join() { local i=0 for h in ${HOSTS[@]}; do echo "Swarm join #${i}: $h $@" - ${SWARM_ROOT}/swarm join --addr=$h "$@" & + swarm join --addr=$h "$@" & SWARM_JOIN_PID[$i]=$! ((++i)) done