TengYao Chi created KAFKA-21334:
-----------------------------------
Summary: Test close() while async bootstrap DNS resolution is
still pending
Key: KAFKA-21334
URL: https://issues.apache.org/jira/browse/KAFKA-21334
Project: Kafka
Issue Type: Sub-task
Components: clients
Reporter: TengYao Chi
Assignee: TengYao Chi
NetworkClient#close() cancels any pending bootstrap resolution and shuts down
the kafka-bootstrap-dns-resolver executor.
Every existing test that reaches close() under async bootstrap configuration
does so only after the resolution has already failed/timed out, so this
cancellation/shutdown path is unverified.
Add a unit test that calls close() while a resolution is genuinely still
pending.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)