activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] branch master updated: ARTEMIS-2577 Thread leak test failure with IBM JRE
Date Mon, 16 Dec 2019 14:40:02 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic 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 42fe6a8  ARTEMIS-2577 Thread leak test failure with IBM JRE
     new 23e26b3  This closes #2919
42fe6a8 is described below

commit 42fe6a8ee2b8fb066b68ce8e5773388b324d8656
Author: brusdev <bruscinodf@gmail.com>
AuthorDate: Mon Dec 16 14:35:44 2019 +0100

    ARTEMIS-2577 Thread leak test failure with IBM JRE
    
    Add the thread with name `MemoryMXBean` as expected on IBM JDK.
---
 .../java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java     | 2 ++
 1 file changed, 2 insertions(+)

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 d9dafac..ec641ea 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,6 +248,8 @@ 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"))
{
+         return true;
       } else if (threadName.contains("globalEventExecutor")) {
          return true;
       } else if (threadName.contains("threadDeathWatcher")) {


Mime
View raw message