From a8d0293b89dea5f6d4cd91336a0022e868a62a75 Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Fri, 20 May 2016 09:23:52 -0400 Subject: [PATCH] change sleep type --- .../testcase/installation/reg_linux_SN_installation_hierarchy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy b/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy index c7ed81bb0..a5ec315bc 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy +++ b/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy @@ -67,8 +67,8 @@ check:rc==0 cmd:if [[ "__GETNODEATTR($$SN,arch)__" =~ "ppc64" ]]; then rnetboot $$SN;elif [[ "__GETNODEATTR($$SN,arch)__" =~ "x86_64" ]];then rpower $$SN boot; fi check:rc==0 -cmd:sleep 1800 -cmd:a=0;while ! `lsdef -l $$SN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 400 ];then break;fi done +cmd:sleep 600 +cmd:a=0;while ! `lsdef -l $$SN|grep status|grep booted >/dev/null`; do sleep 60;((a++));if [ $a -gt 70 ];then break;fi done cmd:ping $$SN -c 3 check:rc==0