You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Erich Duda (JIRA)" <ji...@apache.org> on 2017/06/28 14:38:00 UTC
[jira] [Resolved] (ARTEMIS-1256) PagingOMETest.testPageCleanup
fails
[ https://issues.apache.org/jira/browse/ARTEMIS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erich Duda resolved ARTEMIS-1256.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
1.5.6
> 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
> Fix For: 1.5.6, 2.2.0
>
>
> {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)