use godep go run everywhere in tests

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
Victor Vieux 2015-04-27 10:41:28 -07:00
parent 28918e7e0a
commit c7746f9463
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ function swarm_manage() {
discovery="$@" discovery="$@"
fi fi
${SWARM_ROOT}/swarm manage -H $SWARM_HOST $discovery & swarm manage -H $SWARM_HOST $discovery &
SWARM_PID=$! SWARM_PID=$!
wait_until_reachable $SWARM_HOST wait_until_reachable $SWARM_HOST
} }
@ -55,7 +55,7 @@ function swarm_join() {
local i=0 local i=0
for h in ${HOSTS[@]}; do for h in ${HOSTS[@]}; do
echo "Swarm join #${i}: $h $@" echo "Swarm join #${i}: $h $@"
${SWARM_ROOT}/swarm join --addr=$h "$@" & swarm join --addr=$h "$@" &
SWARM_JOIN_PID[$i]=$! SWARM_JOIN_PID[$i]=$!
((++i)) ((++i))
done done