You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/11/03 20:04:40 UTC

activemq-artemis git commit: NO-JIRA Using interrupts on ThreadRuleCheck

Repository: activemq-artemis
Updated Branches:
  refs/heads/master ea5967b09 -> b0c83073e


NO-JIRA Using interrupts on ThreadRuleCheck

This would speedup cleanup of eventual executors and stuff like that


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

Branch: refs/heads/master
Commit: b0c83073e25c7a45a160888df94070ab9f8788d6
Parents: ea5967b
Author: Clebert Suconic <cl...@apache.org>
Authored: Fri Nov 3 11:32:40 2017 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Fri Nov 3 16:03:36 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0c83073/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 80dfb01..85af09d 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
@@ -182,6 +182,7 @@ public class ThreadLeakCheckRule extends ExternalResource {
                for (StackTraceElement el : elements) {
                   System.out.println(el);
                }
+               aliveThread.interrupt();
             }
 
          }