test: adjust unstable case
This commit is contained in:
parent
484bf1c49a
commit
41f4ae2e14
|
@ -294,7 +294,7 @@
|
|||
,,,script,./test.sh -f tsim/vnode/replica3_basic.sim
|
||||
,,y,script,./test.sh -f tsim/vnode/replica3_repeat.sim
|
||||
,,y,script,./test.sh -f tsim/vnode/replica3_vgroup.sim
|
||||
#,,y,script,./test.sh -f tsim/vnode/replica3_many.sim
|
||||
,,y,script,./test.sh -f tsim/vnode/replica3_many.sim
|
||||
,,y,script,./test.sh -f tsim/vnode/replica3_import.sim
|
||||
,,y,script,./test.sh -f tsim/vnode/stable_balance_replica1.sim
|
||||
,,y,script,./test.sh -f tsim/vnode/stable_dnode2_stop.sim
|
||||
|
|
|
@ -201,31 +201,39 @@ system sh/exec.sh -n dnode2 -s start
|
|||
sleep 3000
|
||||
|
||||
print ======== step6
|
||||
$x = 0
|
||||
step6:
|
||||
$x = $x + 1
|
||||
sleep 1000
|
||||
if $x == 50 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
sql select count(*) from db1.tb1
|
||||
print select count(*) from db1.tb1 ==> $data00 $lastRows1
|
||||
if $data00 <= $lastRows1 then
|
||||
return -1
|
||||
goto step6
|
||||
endi
|
||||
$lastRows1 = $data00
|
||||
|
||||
sql select count(*) from db2.tb2
|
||||
print select count(*) from db2.tb2 ==> $data00 $lastRows2
|
||||
if $data00 <= $lastRows2 then
|
||||
return -1
|
||||
goto step6
|
||||
endi
|
||||
$lastRows2 = $data00
|
||||
|
||||
sql select count(*) from db3.tb3
|
||||
print select count(*) from db3.tb3 ==> $data00 $lastRows3
|
||||
if $data00 <= $lastRows3 then
|
||||
return -1
|
||||
goto step6
|
||||
endi
|
||||
$lastRows3 = $data00
|
||||
|
||||
sql select count(*) from db4.tb4
|
||||
print select count(*) from db4.tb4 ==> $data00 $lastRows4
|
||||
if $data00 <= $lastRows4 then
|
||||
return -1
|
||||
goto step6
|
||||
endi
|
||||
$lastRows4 = $data00
|
||||
|
||||
|
|
Loading…
Reference in New Issue