[ 
https://issues.apache.org/jira/browse/KAFKA-21340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

TengYao Chi updated KAFKA-21340:
--------------------------------
    Description: 
set bootstrap.servers to unresolvable.invalid with a long 
bootstrap.resolve.timeout.ms.

Call admin.close() well before the timeout elapses, while resolution is still 
pending.

Verify close() returns promptly and the background bootstrap resolver thread 
does not leak or hang.

  was:
Injected HostResolver always throws UnknownHostException. 
Call admin.close() while resolution is still pending (well before the timeout 
elapses). 
Verify close() returns promptly and the background bootstrap resolver thread 
does not leak or hang.

this could follow the current pattern as ConcurrentListOffsetsRequestTest


> Integration test when close during in-flight async bootstrap resolution shuts 
> down cleanly
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-21340
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21340
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients
>            Reporter: TengYao Chi
>            Assignee: Cheng Yi Chang
>            Priority: Major
>
> set bootstrap.servers to unresolvable.invalid with a long 
> bootstrap.resolve.timeout.ms.
> Call admin.close() well before the timeout elapses, while resolution is still 
> pending.
> Verify close() returns promptly and the background bootstrap resolver thread 
> does not leak or hang.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to