You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2022/06/18 18:13:00 UTC

[jira] [Assigned] (KAFKA-14006) WorkerConnector tests should be parameterized by connector type

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

Chris Egerton reassigned KAFKA-14006:
-------------------------------------

    Assignee: Chris Egerton

> WorkerConnector tests should be parameterized by connector type
> ---------------------------------------------------------------
>
>                 Key: KAFKA-14006
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14006
>             Project: Kafka
>          Issue Type: Test
>          Components: KafkaConnect
>            Reporter: Chris Egerton
>            Assignee: Chris Egerton
>            Priority: Minor
>
> The {{WorkerConnectorTest}} test suite has several cases that could apply for both sink and source connectors, but each case is only run for one or the other. We should parameterize these tests to run every applicable case for both a sink and a source connector. Any case that requires one or the other can become a no-op by checking for which type of connector is being used and, if it's not the required type, returning at the beginning of the test method.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)