Alexandre Dupriez created KAFKA-14806:
-----------------------------------------

             Summary: Add connection timeout in PlaintextSender used by 
SelectorTests
                 Key: KAFKA-14806
                 URL: https://issues.apache.org/jira/browse/KAFKA-14806
             Project: Kafka
          Issue Type: Test
            Reporter: Alexandre Dupriez


Tests in `SelectorTest` can fail due to spurious connection timeouts. One 
example can be found in [this 
build|https://github.com/apache/kafka/pull/13378/checks?check_run_id=11970595528]
 where the client connection the `PlaintextSender` tried to open could not be 
established before the test timed out.

It may be worth enforcing connection timeout and retries if this can add to the 
selector tests resiliency. Note that `PlaintextSender` is only used by the 
`SelectorTest` so the scope of the change would remain local.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to