Thanks for the patch. I have noticed this intermittently on the 0-9
branch, but you have beaten me to tracking it down. Patch applied in
revision 500310.

Kim

On Fri, 2007-01-26 at 15:27 -0330, Jonathan Anstey wrote:
> Hi,
> 
> This particular commit caused the testAcknowledgePerConsumer test to 
> fail in org.apache.qpid.test.unit.ack.RecoverTest. For some reason it 
> seems that queue1 in TransactedTest.java lingers around after the test 
> has completed. In RecoverTest.java, the same queue is picked up and 
> causes the following error to occur:
> 
> testAcknowledgePerConsumer(org.apache.qpid.test.unit.ack.RecoverTest)  
> Time elapsed: 0.037 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<msg1> but was:<A>
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at junit.framework.Assert.assertEquals(Assert.java:87)
>         at 
> org.apache.qpid.test.unit.ack.RecoverTest.testAcknowledgePerConsumer(RecoverTest.java:204)
> 
> The message "A" comes from queue1 in TransactedTest.java.  I have 
> attached a patch for TransactedTest.java to fix this problem. My fix 
> basically setup queue1 to auto delete so it won't be around for the 
> other tests.
> 
> Cheers,
> Jon


Reply via email to