[
https://issues.apache.org/jira/browse/QPID-7508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663526#comment-15663526
]
ASF subversion and git services commented on QPID-7508:
-------------------------------------------------------
Commit 1769597 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1769597 ]
QPID-7508: [Java Broker] Ensure that returning connection to the selectors pays
attention to a change in ticker state
Also prevents unnecessary spinning of the selector
> 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]