activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: Add HawtDispatch Thread to acceptable leaking thread list
Date Wed, 13 Jan 2016 15:17:08 GMT
Add HawtDispatch Thread to acceptable leaking thread list


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

Branch: refs/heads/master
Commit: 472dd320cf3c580aa167b0c2c2e9e04f2ef1297c
Parents: 3177cdf
Author: Martyn Taylor <mtaylor@redhat.com>
Authored: Wed Jan 13 11:04:40 2016 +0000
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Jan 13 10:16:49 2016 -0500

----------------------------------------------------------------------
 .../apache/activemq/artemis/tests/util/ThreadLeakCheckRule.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/472dd320/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ThreadLeakCheckRule.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ThreadLeakCheckRule.java
b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ThreadLeakCheckRule.java
index e3ef4c7..8ee46c3 100644
--- a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ThreadLeakCheckRule.java
+++ b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ThreadLeakCheckRule.java
@@ -169,6 +169,10 @@ public class ThreadLeakCheckRule extends ExternalResource {
          //another netty thread
          return true;
       }
+      else if (threadName.contains("hawtdispatch")) {
+         // Static workers used by MQTT client.
+         return true;
+      }
       else {
          for (StackTraceElement element : thread.getStackTrace()) {
             if (element.getClassName().contains("org.jboss.byteman.agent.TransformListener"))
{


Mime
View raw message