[add cases]

This commit is contained in:
plum-lihui 2022-03-24 16:20:36 +08:00
parent a2b4efecf2
commit ee3967cbf4
1 changed files with 12 additions and 14 deletions

View File

@ -76,16 +76,14 @@ if $rows != 3 then
return -1 return -1
endi endi
sql select * from information_schema.dnodes
if $rows != 2 then
#sql select * from information_schema.dnodes return -1
#if $rows != 2 then endi
# return -1 sql select * from information_schema.mnodes
#endi if $rows != 1 then
#sql select * from information_schema.mnodes return -1
#if $rows != 1 then endi
# return -1
#endi
#sql select * from information_schema.modules #sql select * from information_schema.modules
#sql select * from information_schema.qnodes #sql select * from information_schema.qnodes
sql select * from information_schema.user_databases sql select * from information_schema.user_databases
@ -108,10 +106,10 @@ sql select * from information_schema.user_users
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
#sql select * from information_schema.vgroups sql select * from information_schema.vgroups
#if $rows != 3 then if $rows != 3 then
# return -1 return -1
#endi endi
print ==== stop dnode1 and dnode2, and restart dnodes print ==== stop dnode1 and dnode2, and restart dnodes
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT