diff --git a/tests/script/general/db/alter_option.sim b/tests/script/general/db/alter_option.sim index 813af583795d91241a89daaff40fe8e438725344..52777dc08c75b44a1f3a5b713940c386f854aa81 100644 --- a/tests/script/general/db/alter_option.sim +++ b/tests/script/general/db/alter_option.sim @@ -9,7 +9,7 @@ sleep 2000 sql connect print ============= create database -sql create database db cache 2 blocks 4 days 10 keep 20 minRows 300 maxRows 400 ctime 120 precision 'ms' comp 2 wal 1 replica 1 +sql create database db cache 2 blocks 4 days 10 keep 20 minRows 300 maxRows 1200 ctime 120 precision 'ms' comp 2 wal 1 replica 1 sql show databases if $data00 != db then return -1 diff --git a/tests/script/general/db/topic1.sim b/tests/script/general/db/topic1.sim index 3670d4db3c936b88cd02a057d6412bf520815892..2feb2ff82f74eb9300fe10b0ce06dfa4f76beeaa 100644 --- a/tests/script/general/db/topic1.sim +++ b/tests/script/general/db/topic1.sim @@ -472,7 +472,8 @@ sql_error alter topic db blocks 10001 print ============== step minrows sql_error alter database db minrows 1 sql alter database db minrows 100 -sql alter database db minrows 1000 +sql alter database db minrows 399 +sql_error alter database db minrows 400 sql_error alter topic db minrows 1 sql_error alter topic db minrows 100