[ 
https://issues.apache.org/jira/browse/ARTEMIS-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated ARTEMIS-2016:
--------------------------------
    Description: 
{{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 
state seems wrong. The test {{QueueControlTest#testRemoveAllWithPagingMode}} is 
flaky due to insufficient number of retry attempts in 
{{QueueControlTest#assertMetrics}}.

  was:
{{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}}.


> 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
>            Priority: Major
>
> {{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 
> state 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)

Reply via email to