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

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

Commit 5f346f203ccad47e7ef2d5723965449206f38d43 in activemq-artemis's branch 
refs/heads/1.x from [~eduda]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=5f346f2 ]

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