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

[jira] (KAFKA-15148) Some integration tests are running as unit tests

    [ https://issues.apache.org/jira/browse/KAFKA-15148 ]


    Ezio Xie deleted comment on KAFKA-15148:
    ----------------------------------

was (Author: JIRAUSER290463):
I run "./gradlew unitTest" in local and I get html summary with these integration tests (find . -name "\*integration\*.html"), Is it appropriate that I use the key word "integration" to filter integration tests?

!image-2023-07-05-20-00-01-968.png|width=708,height=159!

 

> Some integration tests are running as unit tests
> ------------------------------------------------
>
>                 Key: KAFKA-15148
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15148
>             Project: Kafka
>          Issue Type: Test
>          Components: unit tests
>            Reporter: Divij Vaidya
>            Assignee: Ezio Xie
>            Priority: Minor
>              Labels: newbie
>
> *This is a good item for a newcomer into Kafka code base to pick up*
>  
> When we run `./gradlew unitTest`, it is supposed to run all unit tests. However, we are running some integration tests as part of which makes the overall process of running unitTest take longer than expected.
> Example of such tests:
> > :streams:unitTest > Executing test org.apache...integration.NamedTopologyIntegrationTest
> > :streams:unitTest > Executing test org.apache...integration.QueryableStateIntegrationTest
> After this task, we should not run the these tests as part of `./gradlew unitTest`, instead they should be run as part of `./gradlew integrationTest`.
> As part of acceptance criteria, please add the snapshot of html summary generated to verify that these tests are indeed running as part of integrationTest.



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