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 2018/02/27 21:27:24 UTC

[3/5] activemq-artemis git commit: NO-JIRA Adding known threads to stick around

NO-JIRA Adding known threads to stick around


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/c6028c77
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/c6028c77
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/c6028c77

Branch: refs/heads/master
Commit: c6028c779f25bd9c18b36924e99d640796364f0d
Parents: bd0c80d
Author: Clebert Suconic <cl...@apache.org>
Authored: Tue Feb 27 13:06:35 2018 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Tue Feb 27 13:06:35 2018 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c6028c77/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java
----------------------------------------------------------------------
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 df86d74..1778c7b 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
@@ -230,6 +230,8 @@ public class ThreadLeakCheckRule extends TestWatcher {
 
       if (threadName.contains("SunPKCS11")) {
          return true;
+      } else if (threadName.contains("Keep-Alive-Timer")) {
+         return true;
       } else if (threadName.contains("Attach Listener")) {
          return true;
       } else if ((javaVendor.contains("IBM") || isSystemThread) && threadName.equals("process reaper")) {