Skip to content

Commit

Permalink
chore(test): sleep after flaky test (#18218)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 authored Aug 26, 2024
1 parent 5c1af4c commit 2af7a56
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e_test/batch/basic/join.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ create index i1 on t1(v1) include(v2);
statement ok
create index i2 on t2(v1) include(v3);

sleep 1s

query II
select * from i1 join i2 using(v1);
----
Expand Down Expand Up @@ -88,6 +90,8 @@ create table t(x int);
statement ok
create index i on t(x);

sleep 1s

statement ok
insert into t values (1),(2),(3),(4),(5);

Expand Down
12 changes: 12 additions & 0 deletions e2e_test/batch/basic/lookup_join.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ insert into t2 values (1, 3), (1, 5), (4, 10);
statement ok
create materialized view t3 as select v1, count(*) as v2 from t2 group by v1;

sleep 1s

query IIII
select * from t1 left join t3 on t1.v1 = t3.v1 order by t1.v1, t1.v2;
----
Expand Down Expand Up @@ -78,6 +80,8 @@ insert into t2 values ('do', 'gww'), ('f', 'flow'), ('hi', 'hello');
statement ok
create materialized view t3 as select count(*) as v1, v2 from t2 group by v2;

sleep 1s

query IIII
select * from t1 left join t3 on t1.v2 = t3.v2;
----
Expand Down Expand Up @@ -136,6 +140,8 @@ create table t5 (v1 decimal);
statement ok
create materialized view t6 as select v1, count(*) as v2 from t5 group by v1;

sleep 1s

statement ok
insert into t1 values (2);

Expand Down Expand Up @@ -193,6 +199,8 @@ create table t2 (v1 int);
statement ok
create materialized view t3 as select v1 from t2 group by v1;

sleep 1s

statement ok
insert into t1 values (null);

Expand Down Expand Up @@ -233,6 +241,8 @@ create table t2(c int, d int);
statement ok
create index idx on t2(c) include(d);

sleep 1s

statement ok
insert into t1 values (1,222);

Expand Down Expand Up @@ -261,6 +271,8 @@ create table t (v int);
statement ok
create materialized view mv as select v from t order by v limit 10;

sleep 1s

statement ok
insert into t values (1);

Expand Down

0 comments on commit 2af7a56

Please sign in to comment.