qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [6/7] qpid-proton git commit: give up on ever more specific asserts
Date Tue, 28 Apr 2015 16:14:25 GMT
give up on ever more specific asserts

(cherry picked from commit 0d266c679b3ad46d635ea7dc08d936ac6163cd12)


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

Branch: refs/heads/0.9.x
Commit: 0610a4ceb9567c731b1fcd0ec9509952a6150c32
Parents: f0665a0
Author: Rafael Schloming <rhs@alum.mit.edu>
Authored: Tue Apr 28 10:52:01 2015 -0400
Committer: Dominic Evans <dominic.evans@uk.ibm.com>
Committed: Tue Apr 28 17:09:48 2015 +0100

----------------------------------------------------------------------
 tests/python/proton_tests/messenger.py | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0610a4ce/tests/python/proton_tests/messenger.py
----------------------------------------------------------------------
diff --git a/tests/python/proton_tests/messenger.py b/tests/python/proton_tests/messenger.py
index 0fc9fec..94e4e0d 100644
--- a/tests/python/proton_tests/messenger.py
+++ b/tests/python/proton_tests/messenger.py
@@ -1013,16 +1013,6 @@ class SelectableMessengerTest(common.Test):
     mc = Message()
 
     for i in range(count):
-      before = msnd.outgoing
-      if mrcv.incoming == 0:
-        p.pump()
-      # If we didn't receive the messages, check that they are
-      # in-flight. We can only check this after the first message
-      # arrives since sasl handshaking might require multiple pumps
-      # prior to the first message arrival.
-      if i > 0 and mrcv.incoming == 0:
-        assert msnd.outgoing < before
-      # now pump until they arrive
       while mrcv.incoming == 0:
         p.pump()
       assert mrcv.incoming > 0, (count, msnd.outgoing, mrcv.incoming)


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


Mime
View raw message