You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Fernando Giorgetti (JIRA)" <ji...@apache.org> on 2018/05/08 21:40:00 UTC
[jira] [Created] (DISPATCH-992) System test is failing in some
scenarios - system_tests_delivery_abort.py
Fernando Giorgetti created DISPATCH-992:
-------------------------------------------
Summary: 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
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