[ 
https://issues.apache.org/jira/browse/DISPATCH-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026219#comment-17026219
 ] 

ASF subversion and git services commented on DISPATCH-1559:
-----------------------------------------------------------

Commit a8d8cd021eba7f2e5467b54de549e20941b826c7 in qpid-dispatch's branch 
refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=a8d8cd0 ]

DISPATCH-1559: Wait for on_sender to abort in progress stream

Don't overwrite current delivery with next programmed operation in send().


> Delivery_abort test fails by streaming multiple messages into one
> -----------------------------------------------------------------
>
>                 Key: DISPATCH-1559
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1559
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.10.0
>            Reporter: Charles E. Rolke
>            Assignee: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.11.0
>
>
> MessageRouteAbortTest sends four 10-byte messages that get delivered to the 
> client. In the meantime the test has moved on to streaming a 100,000  byte 
> message to be aborted. When the first 10-byte message arrives it calls send() 
> which streams another 100,000 byte message. on_message gets called a couple 
> of times before on_sendable gets back to aborting the current delivery. Now 
> all the streamed message content to be aborted is in one delivery and the 
> test fails.
> The fix is to modify send() not to blindly send the next programmed message. 
> If it observes that a message-to-be-aborted is in flight then it simply exits.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to