diff options
author | Ben Bangert <ben@groovie.org> | 2013-01-05 12:23:48 -0800 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2013-01-05 12:23:48 -0800 |
commit | 78f33a7da519feb643b9b02dbdd125a6bcbc2627 (patch) | |
tree | e09754c3334339e133d2f1b0a876af446c2ba3d9 | |
parent | 91069095898a1f0a223564cd480fd380f2349b11 (diff) | |
download | kazoo-78f33a7da519feb643b9b02dbdd125a6bcbc2627.tar.gz |
More ambiguities relying on not being able to acquire fast enough for the test case.
-rw-r--r-- | kazoo/tests/test_partitioner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kazoo/tests/test_partitioner.py b/kazoo/tests/test_partitioner.py index 3b196ea..e5c7015 100644 --- a/kazoo/tests/test_partitioner.py +++ b/kazoo/tests/test_partitioner.py @@ -38,9 +38,10 @@ class KazooPartitionerTests(KazooTestCase): identifier="p%s" % i, time_boundary=0.2) for i in range(2)] - eq_(partitioners[0].acquired, False) partitioners[0].wait_for_acquire(1) partitioners[1].wait_for_acquire(1) + eq_(partitioners[0].acquired, True) + eq_(partitioners[1].acquired, True) eq_(list(partitioners[0]), [1, 3]) eq_(list(partitioners[1]), [2]) |