From 1258ae31431c01056ca76cba3b86fe9c35d2e62d Mon Sep 17 00:00:00 2001 From: zzzxl Date: Thu, 9 Jan 2025 16:58:49 +0800 Subject: [PATCH] [fix](test) fix for test_build_index_fault case (#46692) --- .../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 3a33c2e41ecf57..27914aceb4a8d3 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 94cf4d6c15c1da..14e74d9b8eb2a2 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",