activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: NO-JIRA Using interrupts on ThreadRuleCheck
Date Fri, 03 Nov 2017 20:04:40 GMT
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 <clebertsuconic@apache.org>
Authored: Fri Nov 3 11:32:40 2017 -0400
Committer: Clebert Suconic <clebertsuconic@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();
             }
 
          }


Mime
View raw message