test: adjust unstable case

This commit is contained in:
Shengliang Guan 2022-11-01 14:13:00 +08:00
parent f4e7f3da5e
commit a28e9284e0
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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