Repository: activemq-artemis
Updated Branches:
  refs/heads/master a088abf9d -> 79ad9cb25


ARTEMIS-1719 fix ThreadLeakCheckRule after Netty upgrade


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

Branch: refs/heads/master
Commit: 44305694f7a5104497297b02a51caf5535a2e9bd
Parents: a088abf
Author: Justin Bertram <jbert...@apache.org>
Authored: Mon Mar 5 21:11:51 2018 -0600
Committer: Justin Bertram <jbert...@apache.org>
Committed: Mon Mar 5 21:12:55 2018 -0600

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


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/44305694/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 1778c7b..1401180 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
@@ -257,6 +257,9 @@ public class ThreadLeakCheckRule extends TestWatcher {
       } else if (threadName.contains("hawtdispatch") || (group != null && 
group.getName().contains("hawtdispatch"))) {
          // Static workers used by MQTT client.
          return true;
+      } else if (threadName.contains("ObjectCleanerThread")) {
+         // Required since upgrade to Netty 4.1.22 maybe because 
https://github.com/netty/netty/commit/739e70398ccb6b11ffa97c6b5f8d55e455a2165e
+         return true;
       } else {
          for (StackTraceElement element : thread.getStackTrace()) {
             if 
(element.getClassName().contains("org.jboss.byteman.agent.TransformListener")) {

Reply via email to