David Arthur created KAFKA-17587: ------------------------------------ Summary: Move test infrastructure out of core Key: KAFKA-17587 URL: https://issues.apache.org/jira/browse/KAFKA-17587 Project: Kafka Issue Type: Improvement Components: core Reporter: David Arthur
Currently, our integration test infrastructure exists in the ":core" module's test sources. This means that any integration test must exist in "core/src/test/java" or "core/src/test/scala". This has two negative consequences. First, it means most of our integration tests live in "core" which is why that module's test time is by far the highest. The other related problem is that modules cannot easily define integration tests in their directory due to circularity with the core test dependency. For example, ":metadata" could not add ClusterTests because that would require a dependency on "project(':core').sourceSets.test.output" – but this can't happen because ":core" depends on ":metadata". We should refactor our test infrastructure classes so that we can untangle these dependencies. -- This message was sent by Atlassian Jira (v8.20.10#820010)