You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/01/27 17:02:43 UTC

qpid-proton git commit: NO-JIRA: Add timeout to utils.py test_request_response

Repository: qpid-proton
Updated Branches:
  refs/heads/master 553023b95 -> cd6eac857


NO-JIRA: Add timeout to utils.py test_request_response


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/cd6eac85
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/cd6eac85
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/cd6eac85

Branch: refs/heads/master
Commit: cd6eac8570ef128de05051e1fdf6aeb59fe5e5ae
Parents: 553023b
Author: Alan Conway <ac...@redhat.com>
Authored: Tue Jan 27 11:02:31 2015 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Jan 27 11:02:31 2015 -0500

----------------------------------------------------------------------
 tests/python/proton_tests/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/cd6eac85/tests/python/proton_tests/utils.py
----------------------------------------------------------------------
diff --git a/tests/python/proton_tests/utils.py b/tests/python/proton_tests/utils.py
index 41a7e71..11f9cc1 100644
--- a/tests/python/proton_tests/utils.py
+++ b/tests/python/proton_tests/utils.py
@@ -20,7 +20,7 @@
 import os
 from threading import Thread
 from unittest import TestCase
-from .common import Test, free_tcp_port
+from proton_tests.common import Test, free_tcp_port
 from copy import copy
 from proton import Message, Url, generate_uuid
 from proton.handlers import MessagingHandler
@@ -79,7 +79,7 @@ class SyncRequestResponseTest(Test):
 
         server = EchoServer(Url(port=free_tcp_port()))
         server.start()
-        client = SyncRequestResponse(BlockingConnection(server.url))
+        client = SyncRequestResponse(BlockingConnection(server.url, timeout=self.timeout))
         try:
             test("foo")         # Simple request/resposne
         finally:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org