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.

(cherry picked from commit 43d8f1cdddee5ed20dfef267dc59f7c4805d3a75)

Change-Id: I2b066a687916742e966190f00b5b06a795d4a014

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