[
https://issues.apache.org/jira/browse/QPID-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated QPID-1315:
------------------------------
Status: Open (was: Ready To Review)
In SimpleAMQQueue
attemptDelivery( ) is called passing in a long value called "deliveries"
The outer loop depends on this value being decremented in order to terminate
within a set number of iterations
Since the value is only decremented within attemptDelivery() which has had the
value bassed by value (not reference) then the value seen by the outer loop is
never decremented.
> FlowControlTest testBasicBytesFlowControl test failure
> ------------------------------------------------------
>
> Key: QPID-1315
> URL: https://issues.apache.org/jira/browse/QPID-1315
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Client, Java Tests
> Affects Versions: M3, M4
> Reporter: Aidan Skinner
> Assignee: Rob Godfrey
> Fix For: M4
>
> Attachments:
> TEST-org.apache.qpid.test.client.FlowControlTest.testBasicBytesFlowControl.out.gz
>
>
> This test has been seen to fail with two errors:
> junit.framework.AssertionFailedError: Third message not received
> at
> org.apache.qpid.test.client.FlowControlTest.testBasicBytesFlowControl(FlowControlTest.java:105)
>
> at
> org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:186)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:220)
> junit.framework.AssertionFailedError: First message not received
> at
> org.apache.qpid.test.client.FlowControlTest.testBasicBytesFlowControl(FlowControlTest.java:87)
>
> at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:186)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:220)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.