More tweak regression test 077.invalid_failover_node/test.sh script.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 27 Feb 2022 23:50:56 +0000 (08:50 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 27 Feb 2022 23:50:56 +0000 (08:50 +0900)
Previous commit was not quite correct and actually the timeout was to
not increased.

src/test/regression/tests/077.invalid_failover_node/test.sh

index 76c5364b31802df5db31ba44e4b65cb9c932bc6a..1f218200b3b918e6f7c4b0502c092941e79d41d7 100755 (executable)
@@ -45,7 +45,7 @@ date
 
 # wait until node 1 up
 ok=ng
-for i in 1 2 3 4 5 6 7 8 9 10
+for i in {1..15}
 do
     $PCP_NODE_INFO -w -p $PCP_PORT 1|grep waiting
     if [ $? -eq 0 ];then
@@ -75,7 +75,7 @@ date
 
 echo === make sure that node 1 is now down ===
 ok=ng
-for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+for i in {1..15}
 do
     $PCP_NODE_INFO -w -p $PCP_PORT 1|grep "down down"
     if [ $? -eq 0 ];then