[ https://issues.apache.org/jira/browse/KAFKA-16801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016655#comment-18016655 ]
Matthias J. Sax commented on KAFKA-16801: ----------------------------------------- Hey, just cycling back on this. It seems there is one issue with option (4). We are using the corresponding modules, to run KS upgrade system tests, and thus load the corresponding jar files in the Docker image: [https://github.com/apache/kafka/blob/trunk/tests/docker/Dockerfile#L100-L119] When we move the code from `test` to `main` folder, the corresponding jar name will change, from eg, `kafka-streams-4.0.0-test.jar` to `kafka-streams-4.0.0.jar`, and thus it will conflict with the actual Kafka Stream jar file. So we need to find a solution for this... It also seems, that we are running into a package conflict, that the PR tries to resolve by changing the package name, but this will break system test and is difficult to get right, too. Overall, I don't know gradle either, but option (1) or (2) would be much better, in case they are possible. Did anybody did some research, and we know that (1) or (2) are not possible? Btw: we did have a discussion about this in the past in our team, if we actually need to keep all these older versions in trunk, given out system test setup? If we could actually delete some code, it might simplify the problem? Did not think this through myself yet, just wanted to mentioned it in case it might help. > Streams upgrade :test target doesn't find any junit tests > --------------------------------------------------------- > > Key: KAFKA-16801 > URL: https://issues.apache.org/jira/browse/KAFKA-16801 > Project: Kafka > Issue Type: Sub-task > Components: streams > Reporter: Greg Harris > Assignee: Ksolves India Limited > Priority: Major > Labels: newbie > > No test executed. This behavior has been deprecated. > This will fail with an error in Gradle 9.0. > There are test sources present but no test was executed. Please check your > test configuration. > [Documentation|https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#test_task_fail_on_no_test_executed] > > 23 usages > > Task::streams:upgrade-system-tests-0100:test > Task::streams:upgrade-system-tests-0101:test > Task::streams:upgrade-system-tests-0102:test > Task::streams:upgrade-system-tests-0110:test > Task::streams:upgrade-system-tests-10:test > Task::streams:upgrade-system-tests-11:test > Task::streams:upgrade-system-tests-20:test > Task::streams:upgrade-system-tests-21:test > Task::streams:upgrade-system-tests-22:test > Task::streams:upgrade-system-tests-23:test > Task::streams:upgrade-system-tests-24:test > Task::streams:upgrade-system-tests-25:test > Task::streams:upgrade-system-tests-26:test > Task::streams:upgrade-system-tests-27:test > Task::streams:upgrade-system-tests-28:test > Task::streams:upgrade-system-tests-30:test > Task::streams:upgrade-system-tests-31:test > Task::streams:upgrade-system-tests-32:test > Task::streams:upgrade-system-tests-33:test > Task::streams:upgrade-system-tests-34:test > Task::streams:upgrade-system-tests-35:test > Task::streams:upgrade-system-tests-36:test > Task::streams:upgrade-system-tests-37:test -- This message was sent by Atlassian Jira (v8.20.10#820010)