diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-04-07 21:31:57 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-04-08 09:23:57 -0700 |
commit | 2037d5f7355c78330526faaba5551107cbbda5ff (patch) | |
tree | 3e106b28908b03b9b87c601fb93fd9f551a49c69 /test/test_failover_integration.py | |
parent | af36c6ddd08a4fa4e5f824f4e70cebab96a1fdc9 (diff) | |
download | kafka-python-2037d5f7355c78330526faaba5551107cbbda5ff.tar.gz |
Speedup some failover tests w/ shorter SimpleClient timeout
Diffstat (limited to 'test/test_failover_integration.py')
-rw-r--r-- | test/test_failover_integration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_failover_integration.py b/test/test_failover_integration.py index f03dfd9..9c2163c 100644 --- a/test/test_failover_integration.py +++ b/test/test_failover_integration.py @@ -214,7 +214,7 @@ class TestFailover(KafkaIntegrationTestCase): hosts = ','.join(['%s:%d' % (broker.host, broker.port) for broker in self.brokers]) - client = SimpleClient(hosts) + client = SimpleClient(hosts, timeout=2) consumer = SimpleConsumer(client, None, topic, partitions=partitions, auto_commit=False, |