Sleep before pinging head host

Change-Id: I9b287dcf3c6abbbd58412c242a00cb158cfaaa94
This commit is contained in:
James E. Blair
2011-10-21 18:27:21 -04:00
parent 0eab549370
commit c1600fa120

View File

@@ -21,6 +21,7 @@ sudo restart rsyslog
# wait for the host to come up (2 ping responses or timeout after 5 minutes)
echo "Jenkins: Waiting for head host to return after reset..."
sleep 10
if ! timeout 300 ./ping.py $HEAD_HOST; then
echo "Jenkins: ERROR: Head node did not come back up after reset"
exit 1