From 471bc1a37a30970d3435b1f1f65879c11f70e02a Mon Sep 17 00:00:00 2001 From: tomchon Date: Wed, 25 May 2022 22:11:00 +0800 Subject: [PATCH] test: add cluster testcase of electing leader --- tests/script/tsim/sync/3Replica1VgElect.sim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/script/tsim/sync/3Replica1VgElect.sim b/tests/script/tsim/sync/3Replica1VgElect.sim index 0e23a08409..61b3b09288 100644 --- a/tests/script/tsim/sync/3Replica1VgElect.sim +++ b/tests/script/tsim/sync/3Replica1VgElect.sim @@ -469,6 +469,10 @@ else goto check_vg_ready3 endi +system sh/exec.sh -n dnode1 -s stop -x SIGINT +system sh/exec.sh -n dnode2 -s stop -x SIGINT +system sh/exec.sh -n dnode3 -s stop -x SIGINT +system sh/exec.sh -n dnode4 -s stop -x SIGINT