From ee757b00fb56dd4a5e83d13ed72b6cb232652676 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 7 Jun 2022 19:43:12 +0800 Subject: [PATCH] test: reproduce coredump --- tests/script/tsim/mnode/basic3.sim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/script/tsim/mnode/basic3.sim b/tests/script/tsim/mnode/basic3.sim index bc70cd7a85..37eda973b9 100644 --- a/tests/script/tsim/mnode/basic3.sim +++ b/tests/script/tsim/mnode/basic3.sim @@ -39,8 +39,10 @@ endi print =============== step2: create mnode 2 sql create mnode on dnode 2 sql create mnode on dnode 3 +system sh/exec.sh -n dnode1 -s stop -x SIGKILL sql_error create mnode on dnode 4 +return $x = 0 step2: $x = $x + 1