From 43d8f1cdddee5ed20dfef267dc59f7c4805d3a75 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 16 Jun 2014 09:39:19 -0400 Subject: [PATCH] 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 --- functions-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-common b/functions-common index f0ab5f86e3..613a86cd84 100644 --- a/functions-common +++ b/functions-common @@ -1081,7 +1081,7 @@ function screen_it { # 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 # bash isn't running by the time we send the command, nothing happens - sleep 1.5 + sleep 3 NL=`echo -ne '\015'` # This fun command does the following: