test: adjust unstable case
This commit is contained in:
parent
f4e7f3da5e
commit
a28e9284e0
|
@ -321,7 +321,7 @@
|
|||
|
||||
# --- vnode ----
|
||||
./test.sh -f tsim/vnode/replica3_basic.sim
|
||||
# TD-20089 ./test.sh -f tsim/vnode/replica3_repeat.sim
|
||||
./test.sh -f tsim/vnode/replica3_repeat.sim
|
||||
./test.sh -f tsim/vnode/replica3_vgroup.sim
|
||||
./test.sh -f tsim/vnode/replica3_many.sim
|
||||
./test.sh -f tsim/vnode/replica3_import.sim
|
||||
|
|
|
@ -107,7 +107,16 @@ system sh/exec.sh -n dnode2 -s stop
|
|||
sleep 3000
|
||||
|
||||
print ======== step7
|
||||
sql select count(*) from db.tb
|
||||
$x = 0
|
||||
step7:
|
||||
$x = $x + 1
|
||||
sleep 1000
|
||||
if $x == 30 then
|
||||
print ====> dnode not ready!
|
||||
return -1
|
||||
endi
|
||||
sql select count(*) from db.tb -x step7
|
||||
|
||||
print select count(*) from db.tb ==> $data00 $lastRows
|
||||
if $data00 <= $lastRows then
|
||||
return -1
|
||||
|
|
Loading…
Reference in New Issue