Repository: qpid-proton Updated Branches: refs/heads/master ac06645c7 -> 4bd66a06e
NO-JIRA: Fix delay in some python tests using the EchoServer. Server should close on transport_error as well as connection_closing. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4bd66a06 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4bd66a06 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4bd66a06 Branch: refs/heads/master Commit: 4bd66a06e97d5b9f83afce5acb3ab590431b3ed8 Parents: ac06645 Author: Alan Conway <[email protected]> Authored: Tue Sep 27 14:50:06 2016 -0400 Committer: Alan Conway <[email protected]> Committed: Tue Sep 27 14:50:06 2016 -0400 ---------------------------------------------------------------------- tests/python/proton_tests/utils.py | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4bd66a06/tests/python/proton_tests/utils.py ---------------------------------------------------------------------- diff --git a/tests/python/proton_tests/utils.py b/tests/python/proton_tests/utils.py index c598251..0766eb9 100644 --- a/tests/python/proton_tests/utils.py +++ b/tests/python/proton_tests/utils.py @@ -70,6 +70,9 @@ class EchoServer(MessagingHandler, Thread): def on_connection_closing(self, event): self.acceptor.close() + def on_transport_error(self, event): + self.acceptor.close() + def run(self): Container(self).run() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
