double the screen sleep timeout

HP Cloud 1.1 is quite slow per core. So much so that grenade is
often failing to start services because bash in a screen session
isn't ready in 1.5s. Double this to 3s to try to decrease failures
in the gate.

We should instead do this via some readiness check to decrease
races.

Change-Id: I2b066a687916742e966190f00b5b06a795d4a014
This commit is contained in:
Sean Dague 2014-06-16 09:39:19 -04:00
parent 906ffb7b77
commit 43d8f1cddd

View File

@ -1081,7 +1081,7 @@ function screen_it {
# sleep to allow bash to be ready to be send the command - we are # sleep to allow bash to be ready to be send the command - we are
# creating a new window in screen and then sends characters, so if # creating a new window in screen and then sends characters, so if
# bash isn't running by the time we send the command, nothing happens # bash isn't running by the time we send the command, nothing happens
sleep 1.5 sleep 3
NL=`echo -ne '\015'` NL=`echo -ne '\015'`
# This fun command does the following: # This fun command does the following: