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

ASF GitHub Bot commented on ARTEMIS-1250:
-----------------------------------------

GitHub user dudaerich opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1363

    ARTEMIS-1250 
ClusteredMessageCounterTest.testNonDurableMessageAddedWithPaging fails

    Before sending of messages to server 0 begins, the test
    should wait until consumer is registered at RemoteQueueBindingImpl
    on server 0. Otherwise some messages may not be rebalanced
    to server 1.
    
    (cherry picked from commit c5a25d33226aa261204e0a2779b0e87bfdcf1395)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-1250

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1363.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1363
    
----
commit 5f346f203ccad47e7ef2d5723965449206f38d43
Author: Erich Duda <[email protected]>
Date:   2017-06-23T11:39:25Z

    ARTEMIS-1250 
ClusteredMessageCounterTest.testNonDurableMessageAddedWithPaging fails
    
    Before sending of messages to server 0 begins, the test
    should wait until consumer is registered at RemoteQueueBindingImpl
    on server 0. Otherwise some messages may not be rebalanced
    to server 1.
    
    (cherry picked from commit c5a25d33226aa261204e0a2779b0e87bfdcf1395)

----


> ClusteredMessageCounterTest.testNonDurableMessageAddedWithPaging fails
> ----------------------------------------------------------------------
>
>                 Key: ARTEMIS-1250
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1250
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 2.1.0
>            Reporter: Erich Duda
>
> {code}
> java.lang.AssertionError: expected:<100> but was:<99>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at org.junit.Assert.assertEquals(Assert.java:542)
>       at 
> org.apache.activemq.artemis.tests.integration.cluster.distribution.ClusteredMessageCounterTest.testMessageAddedWithPaging(ClusteredMessageCounterTest.java:143)
>       at 
> org.apache.activemq.artemis.tests.integration.cluster.distribution.ClusteredMessageCounterTest.testNonDurableMessageAddedWithPaging(ClusteredMessageCounterTest.java:104)
> {code}
> Sometimes happens that the test started to send messages before a consumer is 
> registered at RemoteQueueBindingImpl on server 0.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to