You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/08 21:45:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16468000#comment-16468000 ]
ASF GitHub Bot commented on DISPATCH-992:
-----------------------------------------
GitHub user fgiorgetti opened a pull request:
https://github.com/apache/qpid-dispatch/pull/302
DISPATCH-992: Fix for system_tests_delivery_abort.py
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fgiorgetti/qpid-dispatch fgiorgetti-DISPATCH-992
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/302.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #302
----
commit 95d1ba5e1d8882dd624b451072837396f201baa5
Author: Fernando Giorgetti <fg...@...>
Date: 2018-05-08T21:43:21Z
DISPATCH-992: Fix for system_tests_delivery_abort.py
----
> 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
>
> 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