summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bangert <ben@groovie.org>2014-03-10 13:25:22 -0700
committerBen Bangert <ben@groovie.org>2014-03-10 13:25:22 -0700
commit6e253671c02b1d4985e0cb69534439ad5bcc760b (patch)
tree17f12d7ce9a03ba7e10ca1903f071fb550f6b756
parente5d7b0d6da9b9372e8457f7d47bccc273bf4a949 (diff)
downloadkazoo-6e253671c02b1d4985e0cb69534439ad5bcc760b.tar.gz
If we want two in the test.... wait for 2.
-rw-r--r--kazoo/tests/test_lock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kazoo/tests/test_lock.py b/kazoo/tests/test_lock.py
index e6595a1..36b6d42 100644
--- a/kazoo/tests/test_lock.py
+++ b/kazoo/tests/test_lock.py
@@ -132,7 +132,7 @@ class KazooLockTests(KazooTestCase):
thread.start()
# wait for the contender to line up on the lock
- wait(lambda: len(lock.contenders()) == 1)
+ wait(lambda: len(lock.contenders()) == 2)
eq_(lock.contenders(), ['test', 'contender'])
self.expire_session()