From 54667dde7709ab2604d6bb02e9c3766a71baa8a4 Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Thu, 4 Jun 2015 11:22:10 -0700 Subject: [PATCH] oem/ami: up SSH timeout to 10 minutes 5 minutes isn't long enough --- oem/ami/test_ami.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oem/ami/test_ami.sh b/oem/ami/test_ami.sh index 9bf684f8bb..058e2344e1 100755 --- a/oem/ami/test_ami.sh +++ b/oem/ami/test_ami.sh @@ -150,7 +150,7 @@ declare -a ips=($($ec2_cmd | grep INSTANCE | cut -f4)) # sleep until all the sockets we need come up for host in ${ips[@]}; do for port in 22 4001 7001; do - timeout 300 perl -MIO::Socket::INET -e " + timeout 600 perl -MIO::Socket::INET -e " until(new IO::Socket::INET('$host:$port')){sleep 1}" done done