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

Rob Godfrey updated QPID-7508:
------------------------------
    Attachment: QPID-7508-possible.patch

[~k-wall] From the discussion we had offline on Friday 11th Nov 2016 your 
diagnosis was that the selector needed to be woken up when the ticker has been 
updated, and this was not being detected by the code which returns the 
connection to the selector after processing.

Would the attached patch be a possible approach for resolving this?

> Broker occasionally fails to report SUB-1003 in response to a consumer that 
> has become suspended
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7508
>                 URL: https://issues.apache.org/jira/browse/QPID-7508
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.1
>            Reporter: Keith Wall
>         Attachments: QPID-7508-possible.patch, 
> TEST-org.apache.qpid.server.logging.ConsumerLoggingTest.testSubscriptionSuspend.txt
>
>
> 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/
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to