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: [email protected]
For additional commands, e-mail: [email protected]