Skip to content

Commit 39442d6

Browse files
authored
chore: flaky test (#18959)
* chore: flaky test * fix
1 parent 3af326d commit 39442d6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/query/service/src/interpreters/interpreter_table_recluster.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl Interpreter for ReclusterTableInterpreter {
159159
}
160160
}
161161

162-
let elapsed_time = SystemTime::now().duration_since(start).unwrap();
162+
let elapsed_time = SystemTime::now().duration_since(start).unwrap_or_default();
163163
times += 1;
164164
// Status.
165165
{

tests/sqllogictests/suites/base/09_fuse_engine/09_0037_target_build_merge_into_without_distributed_enable.test

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,11 @@ merge into t_17800 using t1_17800 on t_17800.a=t1_17800.a when matched then upda
199199
----
200200
17 33
201201

202-
query II
203-
select segment_count, row_count from fuse_snapshot('db','t_17800') limit 4;
202+
query B
203+
select abs(stats_row_count - actual_row_count) * 10 < actual_row_count from system.statistics where database = 'db' and table = 't_17800';
204204
----
205-
1 117
206-
1 117
207-
2 117
208-
1 100
205+
1
206+
1
209207

210208
statement ok
211209
CREATE OR REPLACE TABLE t1(id string, raw_data variant, add_time timestamp, action string);

0 commit comments

Comments
 (0)