Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7508

Broker occasionally fails to report SUB-1003 in response to a consumer that has become suspended

    XMLWordPrintableJSON

Details

    Description

      As demonstrated by the following test failure, the Broker is occasionally failing to produce a SUB-1003 Suspended for <time> ms. The issue is being reported on both the 0-9 and 0-10 code paths.

      It seems that the test failure is new and the issue has been exposed by r1765349 (QPID-7447).

      https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-MMS-TestMatrix/lastCompletedBuild/jdk=JDK%201.7%20(latest),label=ubuntu,profile=java-mms.0-10/testReport/org.apache.qpid.server.logging/ConsumerLoggingTest/testSubscriptionSuspend/

      Error Message
      
      Expected at least two suspension messages, but got 1
      Stacktrace
      
      junit.framework.AssertionFailedError: Expected at least two suspension messages, but got 1
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.assertTrue(Assert.java:22)
      	at junit.framework.TestCase.assertTrue(TestCase.java:192)
      	at org.apache.qpid.server.logging.ConsumerLoggingTest.testSubscriptionSuspend(ConsumerLoggingTest.java:328)
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: