From be8ea4541cf81f3af786a9e76d52654c027695ef Mon Sep 17 00:00:00 2001 From: slguan Date: Mon, 20 Apr 2020 19:22:09 +0800 Subject: [PATCH] add script --- tests/script/unique/mnode/mgmt22.sim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/script/unique/mnode/mgmt22.sim b/tests/script/unique/mnode/mgmt22.sim index 8d1d6c88cc..f51be5a3bb 100644 --- a/tests/script/unique/mnode/mgmt22.sim +++ b/tests/script/unique/mnode/mgmt22.sim @@ -17,7 +17,7 @@ system sh/cfg.sh -n dnode2 -c secondIp -v 192.168.0.2 system sh/cfg.sh -n dnode3 -c secondIp -v 192.168.0.2 print ============== step1 -system sh/exec.sh -n dnode1 -s start +system sh/exec_up.sh -n dnode1 -s start sleep 3000 sql connect @@ -29,7 +29,7 @@ if $data3_192.168.0.1 != master then endi print ============== step2 -system sh/exec.sh -n dnode2 -s start +system sh/exec_up.sh -n dnode2 -s start sql create dnode 192.168.0.2 $x = 0 @@ -57,7 +57,7 @@ sql drop dnode 192.168.0.1 -x error1 error1: print ============== step4 -system sh/exec.sh -n dnode1 -s stop +system sh/exec_up.sh -n dnode1 -s stop sleep 8000 $x = 0 @@ -105,7 +105,7 @@ system sh/deploy.sh -n dnode1 -m 192.168.0.2 -i 192.168.0.1 system sh/cfg.sh -n dnode1 -c numOfMPeers -v 2 system sh/cfg.sh -n dnode1 -c secondIp -v 192.168.0.1 -system sh/exec.sh -n dnode1 -s start +system sh/exec_up.sh -n dnode1 -s start sql create dnode 192.168.0.1 sleep 5000 @@ -128,7 +128,7 @@ if $data3_192.168.0.2 != master then endi print ============== step7 -system sh/exec.sh -n dnode3 -s start +system sh/exec_up.sh -n dnode3 -s start sql create dnode 192.168.0.3 sleep 5000 -- GitLab