mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Add a sleep to the e2e tests to ensure that the docker pull finishes.
This commit is contained in:
parent
a70141307a
commit
40d615056e
@ -40,6 +40,11 @@ trap shutdown-test-cluster EXIT
|
|||||||
# Launch a container
|
# Launch a container
|
||||||
$(dirname $0)/../cluster/cloudcfg.sh -p 8080:80 run dockerfile/nginx 2 myNginx
|
$(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
|
# Get minion IP addresses
|
||||||
detect-minions
|
detect-minions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user