From a2863bcb5db7b7e67d1fd4dc0a726feac753a360 Mon Sep 17 00:00:00 2001 From: Noel Kwan Date: Wed, 7 Aug 2024 15:58:59 +0800 Subject: [PATCH] update slt --- .../basic/alter/rate_limit_table_kafka.slt | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/e2e_test/source/basic/alter/rate_limit_table_kafka.slt b/e2e_test/source/basic/alter/rate_limit_table_kafka.slt index b3e830c45308e..02ab5975629fd 100644 --- a/e2e_test/source/basic/alter/rate_limit_table_kafka.slt +++ b/e2e_test/source/basic/alter/rate_limit_table_kafka.slt @@ -66,18 +66,28 @@ skipif in-memory query I alter table kafka_source set source_rate_limit to 1000; +skipif in-memory +sleep 3s + skipif in-memory query I -alter table kafka_source set source_rate_limit to default; +select count(*) > 1 from kafka_source; +---- +t + +############## New MV created should have rate limit = 1000. + +statement ok +create materialized view mv as select * from kafka_source; skipif in-memory sleep 3s skipif in-memory query I -select count(*) > 1 from kafka_source; +select count(*) > 1 from mv; ---- -t +1000 ############## Cleanup