This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 84e5de52505 [test](p0) fix load stream leak in injection cases
(#42681) (#43160)
84e5de52505 is described below
commit 84e5de5250589134d7324e71eba30d99b03c0bd1
Author: Kaijie Chen <[email protected]>
AuthorDate: Mon Nov 4 13:52:41 2024 +0800
[test](p0) fix load stream leak in injection cases (#42681) (#43160)
backport #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 c0cbd1686eb..69c5b8ac28f 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: [email protected]
For additional commands, e-mail: [email protected]