Move wait_for_proxy to config.sh

This commit is contained in:
Martynas Pumputis committed 2016-05-12 12:15:20 +01:00
1 parent 6c7f860418
commit 671ed724d5
3 files changed
+12 -24

No files matched your search

-12
View File
@@ -8,18 +8,6 @@ check_attached() {
done
}
wait_for_proxy() {
for i in $(seq 1 120); do
echo "Waiting for proxy to start"
if proxy docker_on $1 info > /dev/null 2>&1 ; then
return
fi
sleep 1
done
echo "Timed out waiting for proxy to start" >&2
exit 1
}
start_suite "Containers get same IP address on restart"
weave_on $HOST1 launch-router