Skip to content

Commit

Permalink
increase sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Jun 11, 2024
1 parent daa1c42 commit 6fef36e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ci/scripts/run-backfill-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@ 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 10

# Restart
restart_cluster
sleep 5

# Sink back into rw
run_sql "CREATE TABLE table_kafka (v1 int primary key)
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 @@ -7,9 +7,9 @@ create table t (v1 int);
statement ok
SET STREAMING_RATE_LIMIT = 1000;

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

statement ok
SET BACKGROUND_DDL=true;
Expand Down

0 comments on commit 6fef36e

Please sign in to comment.