Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 48D51200D56 for ; Tue, 12 Dec 2017 16:35:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4712C160C24; Tue, 12 Dec 2017 15:35:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E146160BE7 for ; Tue, 12 Dec 2017 16:35:08 +0100 (CET) Received: (qmail 21227 invoked by uid 500); 12 Dec 2017 15:35:07 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 21166 invoked by uid 99); 12 Dec 2017 15:35:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2017 15:35:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4B090DFBEC; Tue, 12 Dec 2017 15:35:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jbertram@apache.org To: commits@activemq.apache.org Date: Tue, 12 Dec 2017 15:35:07 -0000 Message-Id: <4441f1c90a9f4984934724feb0617c7e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] activemq-artemis git commit: NO-JIRA add expected MQTT threadgroup to test rule archived-at: Tue, 12 Dec 2017 15:35:09 -0000 Repository: activemq-artemis Updated Branches: refs/heads/master c8b7dcec9 -> 3efcca4b5 NO-JIRA add expected MQTT threadgroup to test rule Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/08106453 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/08106453 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/08106453 Branch: refs/heads/master Commit: 08106453b5a9269ac384f59b26578feee2908282 Parents: 46b6424 Author: Justin Bertram Authored: Fri Dec 8 11:31:27 2017 -0600 Committer: Justin Bertram Committed: Tue Dec 12 09:33:00 2017 -0600 ---------------------------------------------------------------------- .../org/apache/activemq/artemis/utils/ThreadLeakCheckRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/08106453/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 85af09d..2cf59d2 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,7 +230,7 @@ public class ThreadLeakCheckRule extends ExternalResource { } else if (threadName.contains("Abandoned connection cleanup thread")) { // MySQL Engine checks for abandoned connections return true; - } else if (threadName.contains("hawtdispatch")) { + } else if (threadName.contains("hawtdispatch") || (group != null && group.getName().contains("hawtdispatch"))) { // Static workers used by MQTT client. return true; } else {