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-07 22:54:08 -0700 |
commit | 622b853f4c1ab7115602fd84930beaf44729687f (patch) | |
tree | 3647ef38d2be219a83246a13d8b4e1f25c05c5a9 | |
parent | d05f6aa1132a89a35e788655a881bff697170999 (diff) | |
download | kafka-python-622b853f4c1ab7115602fd84930beaf44729687f.tar.gz |
Speedup some failover tests w/ shorter SimpleClient timeout
-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, |