You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Alexandre Dupriez (Jira)" <ji...@apache.org> on 2023/03/14 09:34:00 UTC

[jira] [Created] (KAFKA-14806) Add connection timeout in PlaintextSender used by SelectorTests

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)