This is an automated email from the ASF dual-hosted git repository.
airborne pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 4bef6d6c053 branch-3.0: [fix](test) fix for test_build_index_fault
case #46692 (#46707)
4bef6d6c053 is described below
commit 4bef6d6c05360852472a02157fe9acb376ee32a5
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jan 17 10:33:04 2025 +0800
branch-3.0: [fix](test) fix for test_build_index_fault case #46692 (#46707)
Cherry-picked from #46692
Co-authored-by: zzzxl <[email protected]>
Co-authored-by: qiye <[email protected]>
---
.../suites/fault_injection_p0/test_build_index_fault.groovy | 4 ++--
.../test_build_index_exception_fault_injection.groovy | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git
a/regression-test/suites/fault_injection_p0/test_build_index_fault.groovy
b/regression-test/suites/fault_injection_p0/test_build_index_fault.groovy
index 3a33c2e41ec..27914aceb4a 100644
--- a/regression-test/suites/fault_injection_p0/test_build_index_fault.groovy
+++ b/regression-test/suites/fault_injection_p0/test_build_index_fault.groovy
@@ -234,14 +234,14 @@ suite("test_build_index_fault", "inverted_index,
nonConcurrent,p2"){
// BUILD INDEX with error injection
sql """ ALTER TABLE ${tableName} ADD INDEX idx_url (`url`) USING INVERTED
"""
-
GetDebugPoint().enableDebugPointForAllBEs("IndexBuilder::handle_single_rowset")
+
GetDebugPoint().enableDebugPointForAllBEs("IndexBuilder::handle_single_rowset_iterator_next_batch_error")
sql """ BUILD INDEX idx_url ON ${tableName}; """
state = wait_for_last_build_index_on_table_finish(tableName, timeout)
assertEquals("CANCELLED", state)
// check data
qt_count7 """ SELECT COUNT() from ${tableName}; """
-
GetDebugPoint().disableDebugPointForAllBEs("IndexBuilder::handle_single_rowset")
+
GetDebugPoint().disableDebugPointForAllBEs("IndexBuilder::handle_single_rowset_iterator_next_batch_error")
// rebuild index
sql """ BUILD INDEX idx_url ON ${tableName}; """
state = wait_for_last_build_index_on_table_finish(tableName, timeout)
diff --git
a/regression-test/suites/fault_injection_p2/test_build_index_exception_fault_injection.groovy
b/regression-test/suites/fault_injection_p2/test_build_index_exception_fault_injection.groovy
index 94cf4d6c15c..14e74d9b8eb 100644
---
a/regression-test/suites/fault_injection_p2/test_build_index_exception_fault_injection.groovy
+++
b/regression-test/suites/fault_injection_p2/test_build_index_exception_fault_injection.groovy
@@ -221,7 +221,6 @@ suite("test_build_index_exception_fault_injection",
"nonConcurrent,p2") {
"IndexBuilder::handle_single_rowset_support_inverted_index",
"IndexBuilder::handle_single_rowset_index_column_writer_create_error",
"IndexBuilder::handle_single_rowset_create_iterator_error",
- "IndexBuilder::handle_single_rowset",
"IndexBuilder::handle_single_rowset_iterator_next_batch_error",
"IndexBuilder::handle_single_rowset_write_inverted_index_data_error",
"IndexBuilder::handle_single_rowset_index_build_finish_error",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]