Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4641

JoramJmsTest QueryBrowserTest fails when run with amqp+nio

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Test Cases
    • None

    Description

      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

      Attachments

        1. AMQ4641.patch
          0.6 kB
          Kevin Anthony Earls
        2. AMQ4641_final.patch
          4 kB
          Kevin Anthony Earls

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kearls Kevin Anthony Earls
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: