qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1535801 - /qpid/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py
Date Fri, 25 Oct 2013 18:10:34 GMT
Author: aconway
Date: Fri Oct 25 18:10:34 2013
New Revision: 1535801

URL: http://svn.apache.org/r1535801
Log:
NO-JIRA: Fix hanging test test_discards_limit_overflow.

The test was hanging while closing a connection, added a timeout.

Modified:
    qpid/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py

Modified: qpid/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py?rev=1535801&r1=1535800&r2=1535801&view=diff
==============================================================================
--- qpid/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py (original)
+++ qpid/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py Fri Oct 25 18:10:34 2013
@@ -336,7 +336,7 @@ class BrokerStatsTests(Base):
         ## Shut down and restart the connection to clear the error condition.
         ##
         try:
-            self.conn.close()
+            self.conn.close(timeout=.1)
         except:
             pass
         self.conn = self.setup_connection()



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


Mime
View raw message