summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-10-25 18:10:34 +0000
committerAlan Conway <aconway@apache.org>2013-10-25 18:10:34 +0000
commit55c8a9233e38114b7fd0e6a6fa61029534f102ab (patch)
tree02e2e68092277aead2020a02ef1687fbef823b1b /tests
parent4d73518f1de500e22f0b68b5e8c93f5d06052036 (diff)
downloadqpid-python-55c8a9233e38114b7fd0e6a6fa61029534f102ab.tar.gz
NO-JIRA: Fix hanging test test_discards_limit_overflow.
The test was hanging while closing a connection, added a timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1535801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tests')
-rw-r--r--tests/src/py/qpid_tests/broker_0_10/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/py/qpid_tests/broker_0_10/stats.py b/tests/src/py/qpid_tests/broker_0_10/stats.py
index fb4521528b..4f3931b78b 100644
--- a/tests/src/py/qpid_tests/broker_0_10/stats.py
+++ b/tests/src/py/qpid_tests/broker_0_10/stats.py
@@ -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()