Skip to content

Commit

Permalink
rename source in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Jul 29, 2024
1 parent 160924c commit c4e7724
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions e2e_test/source/basic/alter/rate_limit_source_kafka.slt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sleep 3s
############## Create MV on source

statement ok
SET STREAMING_RATE_LIMIT=0;
SET SOURCE_RATE_LIMIT=0;

statement ok
create materialized view rl_mv1 as select count(*) from kafka_source;
Expand All @@ -56,7 +56,7 @@ statement ok
create materialized view rl_mv3 as select count(*) from kafka_source;

statement ok
SET STREAMING_RATE_LIMIT=default;
SET SOURCE_RATE_LIMIT=default;

############## MVs should have 0 records, since source has (rate_limit = 0)

Expand All @@ -82,11 +82,11 @@ select * from rl_mv3;

skipif in-memory
query I
alter source kafka_source set streaming_rate_limit to 1000;
alter source kafka_source set source_rate_limit to 1000;

skipif in-memory
query I
alter source kafka_source set streaming_rate_limit to default;
alter source kafka_source set source_rate_limit to default;

skipif in-memory
sleep 3s
Expand Down
6 changes: 3 additions & 3 deletions e2e_test/source/basic/alter/rate_limit_table_kafka.slt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ create table kafka_source (v1 int) with (
topic = 'kafka_source',
properties.bootstrap.server = 'message_queue:29092',
scan.startup.mode = 'earliest',
streaming_rate_limit = 0
source_rate_limit = 0
) FORMAT PLAIN ENCODE JSON

statement ok
Expand Down Expand Up @@ -61,11 +61,11 @@ select count(*) from kafka_source;

skipif in-memory
query I
alter table kafka_source set streaming_rate_limit to 1000;
alter table kafka_source set source_rate_limit to 1000;

skipif in-memory
query I
alter table kafka_source set streaming_rate_limit to default;
alter table kafka_source set source_rate_limit to default;

skipif in-memory
sleep 3s
Expand Down
2 changes: 1 addition & 1 deletion e2e_test/source/basic/kafka.slt
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ create table s29 (id bytea) with (
topic = 'kafka_source_format_bytes',
properties.bootstrap.server = 'message_queue:29092',
scan.startup.mode = 'earliest',
streaming_rate_limit = 200
source_rate_limit = 200
) FORMAT PLAIN ENCODE BYTES

statement ok
Expand Down

0 comments on commit c4e7724

Please sign in to comment.