From a85b23df519166da41f0d03fc248c8225ce28fcf Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Mon, 17 Oct 2022 15:49:23 +0800 Subject: [PATCH] chore: update test case to support alter database minrows --- tests/script/general/db/alter_option.sim | 4 ++-- tests/script/general/db/topic1.sim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/script/general/db/alter_option.sim b/tests/script/general/db/alter_option.sim index 36f4c0e7dc..ec9c391db5 100644 --- a/tests/script/general/db/alter_option.sim +++ b/tests/script/general/db/alter_option.sim @@ -183,8 +183,8 @@ sql_error alter database db blocks 10001 print ============== step minrows sql_error alter database db minrows 1 -sql_error alter database db minrows 100 -sql_error alter database db minrows 1000 +sql alter database db minrows 100 +sql alter database db minrows 1000 print ============== step maxrows sql_error alter database db maxrows 1 diff --git a/tests/script/general/db/topic1.sim b/tests/script/general/db/topic1.sim index 1639973120..3670d4db3c 100644 --- a/tests/script/general/db/topic1.sim +++ b/tests/script/general/db/topic1.sim @@ -471,8 +471,8 @@ sql_error alter topic db blocks 10001 print ============== step minrows sql_error alter database db minrows 1 -sql_error alter database db minrows 100 -sql_error alter database db minrows 1000 +sql alter database db minrows 100 +sql alter database db minrows 1000 sql_error alter topic db minrows 1 sql_error alter topic db minrows 100 -- GitLab