qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1602016 - /qpid/proton/trunk/tests/python/proton_tests/messenger.py
Date Wed, 11 Jun 2014 21:15:35 GMT
Author: chug
Date: Wed Jun 11 21:15:35 2014
New Revision: 1602016

URL: http://svn.apache.org/r1602016
Log:
PROTON-603: testCreditReclaim fails on windows
The issue is that during 'while client2.work(0): self.pump()' 
on windows the credit rebalancing is already happening. 
Testing that it hasn't yet happened causes the failure. 
The only safe thing to do is to keep calling pump and 
verify that the expected credits are achieved eventually.

Modified:
    qpid/proton/trunk/tests/python/proton_tests/messenger.py

Modified: qpid/proton/trunk/tests/python/proton_tests/messenger.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/python/proton_tests/messenger.py?rev=1602016&r1=1602015&r2=1602016&view=diff
==============================================================================
--- qpid/proton/trunk/tests/python/proton_tests/messenger.py (original)
+++ qpid/proton/trunk/tests/python/proton_tests/messenger.py Wed Jun 11 21:15:35 2014
@@ -856,8 +856,6 @@ class NBMessengerTest(common.Test):
     client2.put(msg3)
     while client2.work(0):
         self.pump()
-    assert self.server.incoming == 1, self.server.incoming
-    assert self.server.receiving == 8, self.server.receiving
 
     # eventually, credit will rebalance and all links will
     # send a message



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


Mime
View raw message