You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2018/05/24 20:07:03 UTC

qpid-dispatch git commit: DISPATCH-1010: fix intermittent system_tests_disallow_link_resumable_link_route failure

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master e96256509 -> 427c383e7


DISPATCH-1010: fix intermittent system_tests_disallow_link_resumable_link_route failure

On my laptop the test runs 10 times in a row in 0.76 +/- 0.01 seconds.
Then it might take 1.25 seconds. Many more back at 0.76 seconds and finally
one takes 5.34 seconds.

With this fix the test survives the five second startup time and passes.


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

Branch: refs/heads/master
Commit: 427c383e75c986dd6736fb2eb967728dd3223677
Parents: e962565
Author: Chuck Rolke <cr...@redhat.com>
Authored: Thu May 24 15:55:48 2018 -0400
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Thu May 24 16:06:06 2018 -0400

----------------------------------------------------------------------
 tests/system_tests_disallow_link_resumable_link_route.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/427c383e/tests/system_tests_disallow_link_resumable_link_route.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_disallow_link_resumable_link_route.py b/tests/system_tests_disallow_link_resumable_link_route.py
index bac12ff..ace4d36 100644
--- a/tests/system_tests_disallow_link_resumable_link_route.py
+++ b/tests/system_tests_disallow_link_resumable_link_route.py
@@ -75,7 +75,8 @@ class LinkRouteTest(TestCase):
                    ('linkRoute', {'prefix': 'org.apache', 'containerId': 'QDR.A', 'dir': 'out'}),
                ]
                )
-        sleep(2)
+        cls.routers[0].wait_ports()
+        cls.routers[1].wait_ports()
 
 
     def test_normal_receiver_allowed(self):


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