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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 95cfe72f614 [test](p0) fix load stream leak in injection cases 
(#42681) (#43505)
95cfe72f614 is described below

commit 95cfe72f6149f33664e506b5dcf1d6c9765e58ff
Author: Kaijie Chen <c...@apache.org>
AuthorDate: Fri Nov 8 21:36:13 2024 +0800

    [test](p0) fix load stream leak in injection cases (#42681) (#43505)
    
    cherry-pick #42681
---
 .../suites/fault_injection_p0/test_writer_v2_fault_injection.groovy   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 373ceef469e..f05a084035c 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
@@ -73,8 +73,10 @@ suite("test_writer_v2_fault_injection", "nonConcurrent") {
             sql "insert into test select * from baseall where k1 <= 3"
         } catch(Exception e) {
             logger.info(e.getMessage())
-            assertTrue(e.getMessage().contains(error_msg))
+            assertTrue(e.getMessage().contains(error_msg),
+                       String.format("expected '%s', actual '%s'", error_msg, 
e.getMessage()))
         } finally {
+            sleep 1000 // wait some time for instance finish before disable 
injection
             GetDebugPoint().disableDebugPointForAllBEs(injection)
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to