Skip to content

KAFKA-20553 Eliminate the dependencies on sourceSets.test.output for group-coordinator and share-coordinator#22254

Merged
chia7712 merged 1 commit into
apache:trunkfrom
m1a2st:KAFKA-20553-coordinator-modules
May 12, 2026
Merged

KAFKA-20553 Eliminate the dependencies on sourceSets.test.output for group-coordinator and share-coordinator#22254
chia7712 merged 1 commit into
apache:trunkfrom
m1a2st:KAFKA-20553-coordinator-modules

Conversation

@m1a2st
Copy link
Copy Markdown
Collaborator

@m1a2st m1a2st commented May 11, 2026

Gradle test fixtures to the clients module and removes all dependencies
on sourceSets.test.output. We should revisit other usages in this JIRA.
This will simplify the dependency graph and unblock the upgrade to
Gradle 9.5+

This patch is working on group-coordinator and share-coordinator

Reviewers: Chia-Ping Tsai chia7712@gmail.com

@github-actions github-actions Bot added triage PRs from the community KIP-932 Queues for Kafka build Gradle build or GitHub Actions group-coordinator small Small PRs labels May 11, 2026
@chia7712 chia7712 changed the title KAFKA-20553 Eliminate the dependencies on "sourceSets.test.output" KAFKA-20553 Replace sourceSets.test.output with test-fixtures for group and share coordinators May 11, 2026
Copy link
Copy Markdown
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chia7712 chia7712 changed the title KAFKA-20553 Replace sourceSets.test.output with test-fixtures for group and share coordinators KAFKA-20553 Eliminate the dependencies on sourceSets.test.output for group-coordinator and share-coordinator May 11, 2026
Comment thread build.gradle
testImplementation project(':group-coordinator').sourceSets.test.output
testImplementation project(':share-coordinator').sourceSets.test.output
testImplementation testFixtures(project(':group-coordinator'))
testImplementation testFixtures(project(':share-coordinator'))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, the core module relies on ShareCoordinatorTestConfig for its integration tests. Since these ITs will eventually be migrated to the server module, extracting the config into testFixtures is a forward-looking and solid design choice

@chia7712 chia7712 merged commit 95c2187 into apache:trunk May 12, 2026
36 of 38 checks passed
@github-actions github-actions Bot removed the triage PRs from the community label May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions group-coordinator KIP-932 Queues for Kafka small Small PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants