summaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-01-24 08:14:15 +1100
committerMonty Taylor <mordred@inaugust.com>2013-01-24 16:30:26 +1100
commita387d1fb044ae05be366febe0796e0f0080d43ef (patch)
tree2e80bd7cfdfddf5601854e09ba9c000a689a14a8 /tests/utils.py
parent8c80224ecb5194a5e2ed5f74f1c7f457202d21a3 (diff)
downloadoslo-a387d1fb044ae05be366febe0796e0f0080d43ef.tar.gz
oslo-a387d1fb044ae05be366febe0796e0f0080d43ef.tar.xz
oslo-a387d1fb044ae05be366febe0796e0f0080d43ef.zip
Prevent parallel test port clashes for zmq.
The scheme of incrementing port numbers did not work so well for parallel test runs. Part of blueprint grizzly-testtools. Change-Id: I100e79ae79e4409691145dc721139d1a86839199
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 3c749f6..f9854ca 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -35,6 +35,7 @@ class BaseTestCase(testtools.TestCase):
self.stubs = self.useFixture(moxstubout.MoxStubout()).stubs
self.addCleanup(CONF.reset)
self.useFixture(fixtures.FakeLogger('openstack.common'))
+ self.useFixture(fixtures.Timeout(30, True))
def config(self, **kw):
"""