mirror of https://github.com/docker/docs.git
use godep go run everywhere in tests
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
28918e7e0a
commit
c7746f9463
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue