Skip to content

Commit

Permalink
fix(ci): increase sleep duration before restarting cluster in backfil…
Browse files Browse the repository at this point in the history
…l sink test (#17183)
  • Loading branch information
kwannoel authored Jun 11, 2024
1 parent daa1c42 commit e9201ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ci/scripts/run-backfill-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ test_sink_backfill_recovery() {
# Check progress
sqllogictest -p 4566 -d dev 'e2e_test/backfill/sink/create_sink.slt'

# Sleep before restart cluster, to ensure the downstream sink actually gets created.
sleep 5

# Restart
restart_cluster
sleep 5
Expand Down
4 changes: 2 additions & 2 deletions e2e_test/backfill/sink/create_sink.slt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ statement ok
create table t (v1 int);

statement ok
SET STREAMING_RATE_LIMIT = 1000;
SET STREAMING_RATE_LIMIT = 500;

# Should finish in 10s
# Should finish in 20s
statement ok
insert into t select * from generate_series(1, 10000);

Expand Down

0 comments on commit e9201ac

Please sign in to comment.