From 8cb0204632a0561099a9974eb628166e09929449 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 10 Jan 2022 03:41:33 -0800 Subject: [PATCH] minor changes --- tests/script/general/db/basic1.sim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/script/general/db/basic1.sim b/tests/script/general/db/basic1.sim index 44d53917f2..52af7d93ea 100644 --- a/tests/script/general/db/basic1.sim +++ b/tests/script/general/db/basic1.sim @@ -85,4 +85,23 @@ if $data02 != 2 then return -1 endi +return +system sh/exec.sh -n dnode1 -s stop -x SIGKILL +system sh/exec.sh -n dnode1 -s start + +sql show databases + +if $rows != 1 then + return -1 +endi + +sql_error use d1 + +sql use d4 +sql show vgroups + +if $rows != 2 then + return -1 +endi + system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file -- GitLab