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 2018/03/27 20:12:50 UTC

qpid-dispatch git commit: DISPATCH-947 - Fix sporadic error in test_10_propagated_disposition

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 4a596b712 -> 77d2123b2


DISPATCH-947 - Fix sporadic error in test_10_propagated_disposition

Sort the settled list, dispatch can re-order the settlement events sporadically.


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

Branch: refs/heads/master
Commit: 77d2123b205b31b4ae36ecb3bfcfb7f98eb05a3a
Parents: 4a596b7
Author: Alan Conway <ac...@redhat.com>
Authored: Tue Mar 27 16:11:38 2018 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Mar 27 16:11:38 2018 -0400

----------------------------------------------------------------------
 tests/system_tests_two_routers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/77d2123b/tests/system_tests_two_routers.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_two_routers.py b/tests/system_tests_two_routers.py
index f976ffa..5a808a2 100644
--- a/tests/system_tests_two_routers.py
+++ b/tests/system_tests_two_routers.py
@@ -1216,7 +1216,7 @@ class PropagatedDisposition(MessagingHandler):
 
     def run(self):
         Container(self).run()
-        self.test.assertEqual(['accept', 'reject'], self.settled)
+        self.test.assertEqual(['accept', 'reject'], sorted(self.settled))
 
 
 class ThreeAck(MessagingHandler):


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