activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1626) Disable thread leak check for failing tests
Date Tue, 23 Jan 2018 15:22:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16335906#comment-16335906
] 

ASF subversion and git services commented on ARTEMIS-1626:
----------------------------------------------------------

Commit 8e058d2a76f7be61948c5a28f479ee613481c97a in activemq-artemis's branch refs/heads/master
from Clebert Suconic
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=8e058d2 ]

ARTEMIS-1626 Thread check will not throw leaks failures for previously failed tests

This closes #1800


> Disable thread leak check for failing tests
> -------------------------------------------
>
>                 Key: ARTEMIS-1626
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1626
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.4.0
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Major
>             Fix For: 2.5.0
>
>
> The ThreadLeakCheckRule is used to check thread leaks
> after each test is finished. However when a test fails, it is
> not necessary to check leaking threads because the test
> failure should be fixed anyway. And leaking threads in a
> failed test may well be a result of the failure (once the test
> is fixed the thread leak may be gone).
> If a failed test also leaks threads, it takes a long time before
> the thread leak check finishes (60 seconds checking time),
> thus it takes a long time to finish, especially when tests are
> run in batches with failures.
> So to improve this, it should be reasonable to just enable
> the thread leaking check for each test passes, and disable
> the check when a test fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message