fix: fix case dead loop issue
This commit is contained in:
parent
78c5cc2b6b
commit
bb382ec2a3
|
@ -85,6 +85,7 @@ print ======== step3
|
||||||
system sh/exec.sh -n dnode2 -s stop
|
system sh/exec.sh -n dnode2 -s stop
|
||||||
sleep 3000
|
sleep 3000
|
||||||
|
|
||||||
|
$t = 0
|
||||||
$x = 0
|
$x = 0
|
||||||
loop:
|
loop:
|
||||||
|
|
||||||
|
@ -126,8 +127,8 @@ print ======== step8
|
||||||
$lastRows = $data00
|
$lastRows = $data00
|
||||||
print ======== loop Times $x
|
print ======== loop Times $x
|
||||||
|
|
||||||
if $x < 2 then
|
if $t < 2 then
|
||||||
$x = $x + 1
|
$t = $t + 1
|
||||||
goto loop
|
goto loop
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -138,4 +139,4 @@ system sh/exec.sh -n dnode4 -s stop -x SIGINT
|
||||||
system sh/exec.sh -n dnode5 -s stop -x SIGINT
|
system sh/exec.sh -n dnode5 -s stop -x SIGINT
|
||||||
system sh/exec.sh -n dnode6 -s stop -x SIGINT
|
system sh/exec.sh -n dnode6 -s stop -x SIGINT
|
||||||
system sh/exec.sh -n dnode7 -s stop -x SIGINT
|
system sh/exec.sh -n dnode7 -s stop -x SIGINT
|
||||||
system sh/exec.sh -n dnode8 -s stop -x SIGINT
|
system sh/exec.sh -n dnode8 -s stop -x SIGINT
|
||||||
|
|
Loading…
Reference in New Issue