diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-02-15 09:37:43 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-02-15 09:52:58 -0800 |
commit | 4d17ec257f7934097e048b190df0075068787b6b (patch) | |
tree | ab9fbe1493e5f5c39ad7a10b9f32c55184f7bdab /test/test_protocol.py | |
parent | 48a71beb2f8c565debd9ea07fc8ada7a2210cbdf (diff) | |
download | kafka-python-4d17ec257f7934097e048b190df0075068787b6b.tar.gz |
Improve KafkaClient.check_version()
- only raise AssertionErrors if strict=True (default False)
- connect timeout is configurable (default 2secs)
- monkeypatch request_timeout_ms config and check for RequestTimeoutErrors
- add assertion error message
Diffstat (limited to 'test/test_protocol.py')
0 files changed, 0 insertions, 0 deletions