activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Commented] (AMQ-4296) Unit tests fail intermittently when using LevelDB adapter
Date Fri, 19 Jul 2013 22:22:48 GMT


Timothy Bish commented on AMQ-4296:

QueueBrowsingLevelDBTest is failing because the LevelDB store isn't using the Message incrementReferenceCount
and decrementReferenceCount methods as KahaDB does so first three messages get added to the
cursors batch list befire the memory usage exceeds the set value.  In the KahaDB versions
of the test the usage exceeds the set value on send of the third message so it's not added
to the Cursor's batch list and its usage drops after the store finishes its write so we can
then page in one page worth of messages after the first two messages are sent to the browser.
> Unit tests fail intermittently when using LevelDB adapter
> ---------------------------------------------------------
>                 Key: AMQ-4296
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>    Affects Versions: 5.8.0
>            Reporter: Timothy Bish
>            Priority: Minor
>             Fix For: 5.9.0
>         Attachments: AMQ-4415B.patch
> A couple of the unit tests that have be modified to run with LevelDB as the persistence
adapter fail intermittently.
> AMQ2870Test
> AMQ2584Test#testSize
> DuranleSubscriptionOfflineTest#testConsumeOnlyMatchedMessages
> LevelDBXARecoveryBrokerTest#testTopicPersistentPreparedAcksAvailableAfterRestartAndRollback

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message