From 3efec0a8f94cd7dc57fa6ed27211158216e7d368 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 19 May 2020 15:23:55 +0000 Subject: [PATCH] [TD-369] scripts --- tests/script/general/db/alter_option.sim | 2 +- tests/script/unique/column/replica3.sim | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/script/general/db/alter_option.sim b/tests/script/general/db/alter_option.sim index bb5f4f3568..f871ead11d 100644 --- a/tests/script/general/db/alter_option.sim +++ b/tests/script/general/db/alter_option.sim @@ -54,7 +54,7 @@ sql_error alter database db minRows 550 sql_error alter database db ctime 5000 sql_error alter database db precision "us" sql_error alter database db comp 3 -sql_error alter database db walLevel 1 +sql_error alter database db wal 1 sql_error alter database db replica 2 diff --git a/tests/script/unique/column/replica3.sim b/tests/script/unique/column/replica3.sim index 4b08b13e2f..4e45edc02d 100644 --- a/tests/script/unique/column/replica3.sim +++ b/tests/script/unique/column/replica3.sim @@ -29,6 +29,10 @@ while $x < 1010 $x = $x + 1 endw +sql_error create database d1 replica 2 wal 0 +sql create database d2 replica 1 wal 0 +sql_error alter database d2 replica 2 + system sh/exec_up.sh -n dnode1 -s stop -x SIGINT system sh/exec_up.sh -n dnode2 -s stop -x SIGINT system sh/exec_up.sh -n dnode3 -s stop -x SIGINT -- GitLab