summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Roberts <wizzat@fb.com>2014-09-03 11:46:39 -0700
committerMark Roberts <wizzat@fb.com>2014-09-03 11:46:39 -0700
commit84a7add6da7d1e319c03e0f9758e15e8680c6c69 (patch)
treed37c27965820e8d01497ee9f4a6159df6ef7ed8a /test
parente889c8aef01e9a0b0fc55c433314041ad3dccb2a (diff)
downloadkafka-python-84a7add6da7d1e319c03e0f9758e15e8680c6c69.tar.gz
Fix the multiprocessing tests for python 3
Diffstat (limited to 'test')
-rw-r--r--test/test_consumer_integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_consumer_integration.py b/test/test_consumer_integration.py
index 1b2c73e..3dfded9 100644
--- a/test/test_consumer_integration.py
+++ b/test/test_consumer_integration.py
@@ -151,7 +151,7 @@ class TestConsumerIntegration(KafkaIntegrationTestCase):
with Timer() as t:
messages = consumer.get_messages(count=10, block=True, timeout=5)
self.assert_message_count(messages, 5)
- self.assertGreaterEqual(t.interval, 5)
+ self.assertGreaterEqual(t.interval, 4.95)
consumer.stop()