You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Daněk (JIRA)" <ji...@apache.org> on 2018/08/08 08:14:00 UTC

[jira] [Created] (ARTEMIS-2016) Wait.waitFor is sometimes called with zero timeout (durationMillis), or with durationMillis < sleepMillis

Jiri Daněk created ARTEMIS-2016:
-----------------------------------

             Summary: Wait.waitFor is sometimes called with zero timeout (durationMillis), or with durationMillis < sleepMillis
                 Key: ARTEMIS-2016
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2016
             Project: ActiveMQ Artemis
          Issue Type: Test
    Affects Versions: 2.7.0
            Reporter: Jiri Daněk


{{timeout = 0}} happens in {{org.apache.activemq.artemis.tests.integration.clientcrash.ClientTestBase#assertActiveConnections(int)}} and {{org.apache.activemq.artemis.tests.integration.clientcrash.ClientTestBase#assertActiveSession(int)}}.

{{durationMillis < sleepMillis}} happens in {{org.apache.activemq.artemis.tests.integration.management.QueueControlTest#assertMetrics}}

I am not sure what the intent of the author of the test was, but the current status seems wrong. The test {{QueueControlTest#testRemoveAllWithPagingMode}} is flaky due to insufficient number of retry attempts in {{QueueControlTest#assertMetrics}}.



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