From dade4d67eebdf17cf3c5d4abe157b577bd799980 Mon Sep 17 00:00:00 2001 From: slguan Date: Tue, 28 Apr 2020 22:26:14 +0800 Subject: [PATCH] add scrpits --- tests/script/unique/mnode/mgmt22.sim | 2 ++ tests/script/unique/mnode/mgmt24.sim | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tests/script/unique/mnode/mgmt22.sim b/tests/script/unique/mnode/mgmt22.sim index f6e54ffc2f..9081e50ef5 100644 --- a/tests/script/unique/mnode/mgmt22.sim +++ b/tests/script/unique/mnode/mgmt22.sim @@ -64,6 +64,8 @@ print error of no master print ============== step6 system sh/exec_up.sh -n dnode1 -s start +sql close +sql connect $x = 0 show6: diff --git a/tests/script/unique/mnode/mgmt24.sim b/tests/script/unique/mnode/mgmt24.sim index 9418fd3398..dac3ca4cc0 100644 --- a/tests/script/unique/mnode/mgmt24.sim +++ b/tests/script/unique/mnode/mgmt24.sim @@ -60,6 +60,9 @@ print ============== step5 system sh/exec_up.sh -n dnode1 -s start sql_error create dnode 192.168.0.1 +sql close +sql connect + $x = 0 step5: $x = $x + 1 -- GitLab