diff options
| author | Dana Powers <dana.powers@gmail.com> | 2016-07-16 21:20:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-16 21:20:42 -0700 |
| commit | 5ab4d5c274112a4e2024dea415a0ec4b79009a28 (patch) | |
| tree | 2f75731a028194d92d8df916a2a6c553385aae80 /test/test_client_async.py | |
| parent | 2a7f4dbb8159464941afa25d49428976cc05f902 (diff) | |
| parent | 277f0ddd61c230181f5f21d427070ec44b36a257 (diff) | |
| download | kafka-python-5ab4d5c274112a4e2024dea415a0ec4b79009a28.tar.gz | |
Merge pull request #762 from dpkp/metadata_v1
Use Metadata Request/Response v1 with 0.10+ brokers
Diffstat (limited to 'test/test_client_async.py')
| -rw-r--r-- | test/test_client_async.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_client_async.py b/test/test_client_async.py index dfe11ea..aa91704 100644 --- a/test/test_client_async.py +++ b/test/test_client_async.py @@ -53,8 +53,8 @@ def test_bootstrap_success(conn): conn.connect.assert_called_with() conn.send.assert_called_once_with(MetadataRequest[0]([])) assert cli._bootstrap_fails == 0 - assert cli.cluster.brokers() == set([BrokerMetadata(0, 'foo', 12), - BrokerMetadata(1, 'bar', 34)]) + assert cli.cluster.brokers() == set([BrokerMetadata(0, 'foo', 12, None), + BrokerMetadata(1, 'bar', 34, None)]) def test_bootstrap_failure(conn): conn.state = ConnectionStates.DISCONNECTED |
