From ee3967cbf4768dc0f650834a1daa7910a7bfba3f Mon Sep 17 00:00:00 2001 From: plum-lihui Date: Thu, 24 Mar 2022 16:20:36 +0800 Subject: [PATCH] [add cases] --- tests/script/tsim/show/basic.sim | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/tests/script/tsim/show/basic.sim b/tests/script/tsim/show/basic.sim index cd778cf44b..fe19b3038d 100644 --- a/tests/script/tsim/show/basic.sim +++ b/tests/script/tsim/show/basic.sim @@ -76,16 +76,14 @@ if $rows != 3 then return -1 endi - - -#sql select * from information_schema.dnodes -#if $rows != 2 then -# return -1 -#endi -#sql select * from information_schema.mnodes -#if $rows != 1 then -# return -1 -#endi +sql select * from information_schema.dnodes +if $rows != 2 then + return -1 +endi +sql select * from information_schema.mnodes +if $rows != 1 then + return -1 +endi #sql select * from information_schema.modules #sql select * from information_schema.qnodes sql select * from information_schema.user_databases @@ -108,10 +106,10 @@ sql select * from information_schema.user_users if $rows != 1 then return -1 endi -#sql select * from information_schema.vgroups -#if $rows != 3 then -# return -1 -#endi +sql select * from information_schema.vgroups +if $rows != 3 then + return -1 +endi print ==== stop dnode1 and dnode2, and restart dnodes system sh/exec.sh -n dnode1 -s stop -x SIGINT