[ https://issues.apache.org/jira/browse/DISPATCH-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles E. Rolke resolved DISPATCH-1559. ---------------------------------------- Resolution: Fixed Fixed at commit a8d8cd02 > 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