bump up time out for a cell node to 3 minutes
Change-Id: I531d799ee136d4ac3bed30f0a3b0714f04587c71
diff --git a/tools/test/bin/onos-verify-cell b/tools/test/bin/onos-verify-cell
index 8999ad4..7f7b37c 100755
--- a/tools/test/bin/onos-verify-cell
+++ b/tools/test/bin/onos-verify-cell
@@ -7,5 +7,15 @@
. $ONOS_ROOT/tools/build/envDefaults
for node in $OCT $OCN $(env | sort | egrep "^OC[0-9]+" | cut -d= -f2); do
- printf "%s: " $node; ssh -n -q -o StrictHostKeyChecking=no -o PasswordAuthentication=no $ONOS_USER@$node hostname
+ for i in {1..18}; do
+ printf "%s: " $node; ssh -n -q -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o ConnectTimeout=10 $ONOS_USER@$node hostname
+ if [ $? -eq 0 ]; then
+ let err=0
+ break
+ fi
+ let err=1+$err
+ done
+ if [ $err -ne 0 ]; then
+ exit 1
+ fi
done