This is an automated email from the ASF dual-hosted git repository.

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 9123e4c94cf branch-3.1: [fix](test) fix test_writer_v2_fault_injection 
fail #53251 (#53281)
9123e4c94cf is described below

commit 9123e4c94cfb11fe36c59a66e6600c71feeac89b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jul 15 19:48:21 2025 +0800

    branch-3.1: [fix](test) fix test_writer_v2_fault_injection fail #53251 
(#53281)
    
    Cherry-picked from #53251
    
    Co-authored-by: hui lai <[email protected]>
---
 .../test_writer_v2_fault_injection.groovy                   | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git 
a/regression-test/suites/fault_injection_p0/test_writer_v2_fault_injection.groovy
 
b/regression-test/suites/fault_injection_p0/test_writer_v2_fault_injection.groovy
index 1a473d90e52..57a5076a07f 100644
--- 
a/regression-test/suites/fault_injection_p0/test_writer_v2_fault_injection.groovy
+++ 
b/regression-test/suites/fault_injection_p0/test_writer_v2_fault_injection.groovy
@@ -112,10 +112,15 @@ suite("test_writer_v2_fault_injection", "nonConcurrent") {
         // Test LoadStreamStub _send_with_retry stream write failed
         
load_with_injection("LoadStreamStub._send_with_retry.stream_write_failed")
         // Test LoadStreamStub _handle_failure for different opcodes
-        
load_with_injection("LoadStreamStub._handle_failure.append_data_failed")
-        
load_with_injection("LoadStreamStub._handle_failure.add_segment_failed")
-        load_with_injection("LoadStreamStub._handle_failure.close_load_failed")
-        load_with_injection("LoadStreamStub._handle_failure.get_schema_failed")
+        try {
+            
GetDebugPoint().enableDebugPointForAllBEs("LoadStreamStub._send_with_retry.stream_write_failed")
+            
load_with_injection("LoadStreamStub._handle_failure.append_data_failed")
+            
load_with_injection("LoadStreamStub._handle_failure.add_segment_failed")
+            
load_with_injection("LoadStreamStub._handle_failure.close_load_failed")
+            
load_with_injection("LoadStreamStub._handle_failure.get_schema_failed")
+        } finally {
+            
GetDebugPoint().disableDebugPointForAllBEs("LoadStreamStub._send_with_retry.stream_write_failed")
+        }
         // Test LoadStreamStub skip send segment
         load_with_injection("LoadStreamStub.skip_send_segment")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to