You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2018/05/09 00:12:00 UTC

[jira] [Resolved] (DISPATCH-992) System test is failing in some scenarios - system_tests_delivery_abort.py

     [ https://issues.apache.org/jira/browse/DISPATCH-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy resolved DISPATCH-992.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> 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.2.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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org