Browse code

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

Sean Dague authored on 2014/06/16 22:39:19
Showing 1 changed files
... ...
@@ -1081,7 +1081,7 @@ function screen_it {
1081 1081
             # sleep to allow bash to be ready to be send the command - we are
1082 1082
             # creating a new window in screen and then sends characters, so if
1083 1083
             # bash isn't running by the time we send the command, nothing happens
1084
-            sleep 1.5
1084
+            sleep 3
1085 1085
 
1086 1086
             NL=`echo -ne '\015'`
1087 1087
             # This fun command does the following: