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

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

Commit 57d36b8362d62a4324a99be36b804cf69f570ac2 in qpid-dispatch's branch 
refs/heads/1.1.x from [~fgiorget]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=57d36b8 ]

DISPATCH-992: Fix for system_tests_delivery_abort.py

(cherry picked from commit 95d1ba5e1d8882dd624b451072837396f201baa5)


> System test is failing in some scenarios - system_tests_delivery_abort.py
> -------------------------------------------------------------------------
>
>                 Key: DISPATCH-992
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-992
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Fernando Giorgetti
>            Priority: Major
>             Fix For: 1.1.0
>
>
> In some machines, we were able to see that system_tests_delivery_abort.py 
> test is failing (only the truncate tests) as on_aborted() method is not being 
> invoked.
> After debugging the test and along with the router code, it ended out being a 
> timing issue on some machines. Basically when the sender's close() method is 
> called (like at line 218), the headers have not yet been sent from the router 
> (with aborted=true), so on_aborted is never invoked on the test.
> Using a bigger data to stream, like 1000000 instead of 100000 (or even 
> sleeping for 1 second before closing the sender), it gives enough time for 
> the headers to be sent and then test passes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to