You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin Earls (JIRA)" <ji...@apache.org> on 2013/09/05 12:24:53 UTC

[jira] [Updated] (AMQ-4641) JoramJmsTest QueryBrowserTest fails when run with amqp+nio

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

Kevin Earls updated AMQ-4641:
-----------------------------

    Attachment: AMQ4641_final.patch

This patch replaces the existing JoramJmsNioTest with one that doesn't run QueueBrowserTest.  After applying, you can close this bug, as I have updated AMQ-4375 to include all instances where test fail because of the qpid client.

(I've also included a minor change here to JoramSslTest.  It removes a redundant test declaration and and unneeded dependency on the Junit 3 TestCase class.  If you'd prefer I can open another bug and submit it separately.)
                
> JoramJmsTest QueryBrowserTest fails when run with amqp+nio
> ----------------------------------------------------------
>
>                 Key: AMQ-4641
>                 URL: https://issues.apache.org/jira/browse/AMQ-4641
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>            Reporter: Kevin Earls
>            Priority: Minor
>         Attachments: AMQ4641_final.patch, AMQ4641.patch
>
>
> If you run QueryBrowserTest using amqp+nio, you get the following:
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.166 sec <<< FAILURE!
> testSenderBrowser(org.objectweb.jtests.jms.conform.queue.QueueBrowserTest)  Time elapsed: 3.053 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: null
> 	at junit.framework.Assert.fail(Assert.java:55)
> 	at junit.framework.Assert.assertTrue(Assert.java:22)
> 	at junit.framework.Assert.assertTrue(Assert.java:31)
> 	at org.objectweb.jtests.jms.conform.queue.QueueBrowserTest.testSenderBrowser(QueueBrowserTest.java:103)
> testBrowserWithMessageSelector(org.objectweb.jtests.jms.conform.queue.QueueBrowserTest)  Time elapsed: 2.051 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.failNotEquals(Assert.java:329)
> 	at junit.framework.Assert.assertEquals(Assert.java:78)
> 	at junit.framework.Assert.assertEquals(Assert.java:234)
> 	at junit.framework.Assert.assertEquals(Assert.java:241)
> 	at org.objectweb.jtests.jms.conform.queue.QueueBrowserTest.testBrowserWithMessageSelector(QueueBrowserTest.java:142)
> This may be similar to: https://issues.apache.org/jira/browse/AMQ-4376

--
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: http://www.atlassian.com/software/jira