From 14778e6c7558048a73008bc249c23926c37bd94c Mon Sep 17 00:00:00 2001 From: chang Date: Mon, 11 May 2020 14:00:14 +0800 Subject: [PATCH] feat: add connection test case --- .../script/general/connection/connection.sim | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/script/general/connection/connection.sim diff --git a/tests/script/general/connection/connection.sim b/tests/script/general/connection/connection.sim new file mode 100644 index 0000000000..71db20b285 --- /dev/null +++ b/tests/script/general/connection/connection.sim @@ -0,0 +1,21 @@ +system sh/stop_dnodes.sh +system sh/deploy.sh -n dnode1 -i 1 +system sh/cfg.sh -n dnode1 -c wallevel -v 0 +system sh/exec.sh -n dnode1 -s start +sleep 3000 +sql connect + +print ============= step1 +sql close +print close1 +sql connect + +print ============= step2 +sql close +sql connect + +print ============= step3 +sql close +sql connect write + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file -- GitLab