You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2020/01/10 14:05:30 UTC
[activemq-artemis] branch master updated: ARTEMIS-2593 Thread leak
test failure with OpenJ9 JVM
This is an automated email from the ASF dual-hosted git repository.
jbertram pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/master by this push:
new 9c858c6 ARTEMIS-2593 Thread leak test failure with OpenJ9 JVM
new bf30843 This closes #2935
9c858c6 is described below
commit 9c858c6ba2bda7aea2b153921da469e26d3dcbce
Author: brusdev <br...@gmail.com>
AuthorDate: Fri Jan 10 13:58:10 2020 +0100
ARTEMIS-2593 Thread leak test failure with OpenJ9 JVM
Add an exception for the thread with name `MemoryMXBean`.
---
.../java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java
index ec641ea..3d6082b 100644
--- a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java
+++ b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java
@@ -248,7 +248,7 @@ public class ThreadLeakCheckRule extends TestWatcher {
return true;
} else if (javaVendor.contains("IBM") && threadName.equals("MemoryPoolMXBean notification dispatcher")) {
return true;
- } else if (javaVendor.contains("IBM") && threadName.contains("MemoryMXBean")) {
+ } else if (threadName.contains("MemoryMXBean")) {
return true;
} else if (threadName.contains("globalEventExecutor")) {
return true;