[
https://issues.apache.org/jira/browse/ARTEMIS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066012#comment-16066012
]
ASF GitHub Bot commented on ARTEMIS-1256:
-----------------------------------------
GitHub user dudaerich opened a pull request:
https://github.com/apache/activemq-artemis/pull/1376
ARTEMIS-1256 PagingOMETest.testPageCleanup fails
Using a Wait condition.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-1256
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1376.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 #1376
----
commit c44a0c8bc9223e78be503052342854a1a9acbf10
Author: Clebert Suconic <[email protected]>
Date: 2017-06-27T16:48:33Z
ARTEMIS-1256 PagingOMETest.testPageCleanup fails
Using a Wait condition.
This closes #1370
(cherry picked from commit 5c2144b7826c25e8510f870b588e873685291d74)
----
> PagingOMETest.testPageCleanup fails
> -----------------------------------
>
> Key: ARTEMIS-1256
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1256
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.5.5, 2.1.0
> Reporter: Erich Duda
>
> {code}
> java.lang.AssertionError: expected:<2> but was:<1>
> 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.extras.byteman.PagingOMETest.testPageCleanup(PagingOMETest.java:148)
> {code}
> Queue.getMessageCount does not guarantee you get accurate number of messages
> on the queue. To get precise number, the test must wait until all
> asynchronous tasks on queue are finished.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)