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 2014/06/11 23:15:35 UTC
svn commit: r1602016 -
/qpid/proton/trunk/tests/python/proton_tests/messenger.py
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