summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2019-03-13 21:38:28 -0700
committerJeff Widman <jeff@jeffwidman.com>2019-03-13 21:38:28 -0700
commit302b30c7c9f911ce8ec948926021d3fdf16cbedc (patch)
tree1cc117f7ff2bf294e3d4d3cccd4aa7a7f6fad0a8 /test
parent1cd505df43ab9d8c08405338e71b913d22275198 (diff)
downloadkafka-python-302b30c7c9f911ce8ec948926021d3fdf16cbedc.tar.gz
Recheck connecting nodes sooner when refreshing metadata (#1737)
Diffstat (limited to 'test')
-rw-r--r--test/test_client_async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_client_async.py b/test/test_client_async.py
index 1c8a50f..a4dc9db 100644
--- a/test/test_client_async.py
+++ b/test/test_client_async.py
@@ -376,7 +376,7 @@ def test_maybe_refresh_metadata_cant_send(mocker, client):
client._connecting.add('foobar')
client._can_connect.reset_mock()
client.poll(timeout_ms=12345678)
- client._poll.assert_called_with(9999.999) # connection timeout (request timeout)
+ client._poll.assert_called_with(2.222) # connection timeout (reconnect timeout)
assert not client._can_connect.called
assert not client._metadata_refresh_in_progress