From 2af7a5662626704b9f2cdb55958235eb5331bb4d Mon Sep 17 00:00:00 2001 From: zwang28 <70626450+zwang28@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:11:02 +0800 Subject: [PATCH] chore(test): sleep after flaky test (#18218) --- e2e_test/batch/basic/join.slt.part | 4 ++++ e2e_test/batch/basic/lookup_join.slt.part | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/e2e_test/batch/basic/join.slt.part b/e2e_test/batch/basic/join.slt.part index cf2ae46dd0772..e1bdee0fb0506 100644 --- a/e2e_test/batch/basic/join.slt.part +++ b/e2e_test/batch/basic/join.slt.part @@ -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); ---- @@ -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); diff --git a/e2e_test/batch/basic/lookup_join.slt.part b/e2e_test/batch/basic/lookup_join.slt.part index 400c35068d695..a10c364b86949 100644 --- a/e2e_test/batch/basic/lookup_join.slt.part +++ b/e2e_test/batch/basic/lookup_join.slt.part @@ -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; ---- @@ -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; ---- @@ -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); @@ -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); @@ -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); @@ -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);