Make test suite more robust against very slow test suites

This commit is contained in:
Mark Roberts
2014-05-06 22:56:24 -07:00
parent b053da2203
commit b81bf5f69e

View File

@@ -220,7 +220,7 @@ class TestConsumerIntegration(KafkaIntegrationTestCase):
# Start a consumer
consumer1 = self.consumer(
auto_commit_every_t = 600,
auto_commit_every_t = None,
auto_commit_every_n = 20,
)
@@ -230,7 +230,7 @@ class TestConsumerIntegration(KafkaIntegrationTestCase):
# The total offset across both partitions should be at 180
consumer2 = self.consumer(
auto_commit_every_t = 600,
auto_commit_every_t = None,
auto_commit_every_n = 20,
)