From 302b30c7c9f911ce8ec948926021d3fdf16cbedc Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Wed, 13 Mar 2019 21:38:28 -0700 Subject: Recheck connecting nodes sooner when refreshing metadata (#1737) --- test/test_client_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_client_async.py') 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 -- cgit v1.2.1