Add a sleep to the e2e tests to ensure that the docker pull finishes.

pull/6/head
Brendan Burns 2014-06-07 22:04:34 -07:00
parent a70141307a
commit 40d615056e
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ trap shutdown-test-cluster EXIT
# Launch a container
$(dirname $0)/../cluster/cloudcfg.sh -p 8080:80 run dockerfile/nginx 2 myNginx
# Container turn up on a clean cluster can take a while for the docker image pull.
# Sleep for 2 minutes just to be sure.
echo "Waiting for containers to come up."
sleep 120
# Get minion IP addresses
detect-minions