Skip to content

Commit ecae4d1

Browse files
committed
fix backfill test timeout
1 parent 4ea571a commit ecae4d1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/scripts/run-backfill-tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@ test_snapshot_and_upstream_read() {
110110
# Provide snapshot
111111
run_sql_file "$PARENT_PATH"/sql/backfill/basic/insert.sql
112112

113+
run_sql "alter table t1 set dml_rate_limit = 10"
114+
113115
# Provide updates ...
114116
run_sql_file "$PARENT_PATH"/sql/backfill/basic/insert.sql &
115117

116118
# ... and concurrently create mv.
117-
run_sql_file "$PARENT_PATH"/sql/backfill/basic/create_mv.sql &
119+
run_sql_file "$PARENT_PATH"/sql/backfill/basic/create_mv.sql && run_sql "alter table t1 set dml_rate_limit = default" &
118120

119121
wait
120122

ci/scripts/sql/backfill/basic/insert.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ insert into t1
22
SELECT
33
generate_series,
44
'{"orders": {"id": 1, "price": "2.30", "customer_id": 2}}'::jsonb
5-
FROM generate_series(1, 50000);
5+
FROM generate_series(1, 10000);
66
FLUSH;

0 commit comments

Comments
 (0)