activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-1902) org.apache.activemq.broker.region.cursors.CursorQueueStoreTest often fails
Date Thu, 21 Aug 2008 10:11:52 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Tully resolved AMQ-1902.
-----------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

fixed in 687677

mods changes to fix: https://issues.apache.org/activemq/browse/AMQ-1866

problem was out of order message delivery. A full subscription that became available during
a dispatch could receive messages newer than those stored in the pagedInPendingDispatch list.
When the pagedInPendingDispatch is again dispatched, out of order messages can occur.
Changes to maintain the order of pagedInPendingDispatch were also needed.

> org.apache.activemq.broker.region.cursors.CursorQueueStoreTest often fails
> --------------------------------------------------------------------------
>
>                 Key: AMQ-1902
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1902
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0
>         Environment: intermittent on mac, always on underpowered linux
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.2.0
>
>
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.activemq.broker.region.cursors.CursorQueueStoreTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 26.706 sec <<<
FAILURE!
> testSendWhilstConaume(org.apache.activemq.broker.region.cursors.CursorQueueStoreTest)
 Time elapsed: 26.686 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: This should be the same at pos 50 in the list expected:<...51>
but was:<...109>
> 	at junit.framework.Assert.assertEquals(Assert.java:81)
> 	at org.apache.activemq.broker.region.cursors.CursorSupport.testSendWhilstConaume(CursorSupport.java:150)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message