This is an automated email from the ASF dual-hosted git repository.
jianliangqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new df932af78e5 [fix](test)Add wait for full compaction (#34706)
df932af78e5 is described below
commit df932af78e5675480c5587631077852a5d2b2fc6
Author: qiye <[email protected]>
AuthorDate: Mon May 13 10:54:21 2024 +0800
[fix](test)Add wait for full compaction (#34706)
`test_index_compaction_fault_injection` case is unstable.
Add wait to check full compaction is done before assert.
Co-authored-by: Luennng <[email protected]>
---
.../fault_injection_p0/test_index_compaction_fault_injection.groovy | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/regression-test/suites/fault_injection_p0/test_index_compaction_fault_injection.groovy
b/regression-test/suites/fault_injection_p0/test_index_compaction_fault_injection.groovy
index bdf7b89f9b0..0ddfa064e3a 100644
---
a/regression-test/suites/fault_injection_p0/test_index_compaction_fault_injection.groovy
+++
b/regression-test/suites/fault_injection_p0/test_index_compaction_fault_injection.groovy
@@ -240,6 +240,9 @@ suite("test_index_compaction_failure_injection",
"nonConcurrent") {
logger.info("trigger_full_compaction_on_tablets normally")
trigger_full_compaction_on_tablets.call(tablets)
+ // wait for full compaction done
+ wait_full_compaction_done.call(tablets)
+
// after full compaction, there is only 1 rowset.
rowsetCount = get_rowset_count.call(tablets);
if (isCloudMode) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]