Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3095

[Artemis Testsuite] TemporaryQueueTest#testBlockingWithTemporaryQueue fails

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.0.ER4
    • Fix Version/s: 7.0.0.ER5
    • Component/s: ActiveMQ
    • Labels:
      None

      Description

      expected:<737> but was:<736>
      java.lang.AssertionError: expected:<737> but was:<736>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.activemq.artemis.tests.integration.client.TemporaryQueueTest.testBlockingWithTemporaryQueue(TemporaryQueueTest.java:600)
      

      There is while cycle which check whether producer is blocked and thus temporary queue is full. Sometimes it can happen that producer spend all his credits too fast and he is blocked because he waits to receive credits from server, but the queue is not full. We have to ensure that the producer is blocked due to full queue and it is not just temporary state.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ataylor Andy Taylor
                  Reporter:
                  eduda Erich Duda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: