Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-17685 make sure all modules have consistent testRuntimeOnly dependencies #17355

Merged
merged 5 commits into from
Oct 3, 2024

Conversation

m1a2st
Copy link
Contributor

@m1a2st m1a2st commented Oct 3, 2024

Jira: https://issues.apache.org/jira/browse/KAFKA-17685

we declare a variable of runtimeLibs to simplfied the testRuntimeOnly dependency

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@m1a2st m1a2st changed the title KAFKA 17685 make sure all modules have consistent testRuntimeOnly dependencies KAFKA-17685 make sure all modules have consistent testRuntimeOnly dependencies Oct 3, 2024
Copy link
Member

@mumrah mumrah left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @m1a2st! Left one minor style nitpick.

build.gradle Outdated
Comment on lines 127 to 128
libs.slf4jReload4j,
libs.junitPlatformLanucher,
Copy link
Member

Choose a reason for hiding this comment

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

nit: indentation is off

@mumrah mumrah added the build Gradle build or GitHub Actions label Oct 3, 2024
build.gradle Outdated
@@ -122,6 +122,11 @@ ext {
if (name == "compileTestJava" || name == "compileTestScala")
options.compilerArgs << "-parameters"
}

runtimeLibs = [
Copy link
Member

Choose a reason for hiding this comment

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

Should also call this "runtimeTestLibs" probably to avoid confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, It make sense to me

@mumrah mumrah merged commit 8b5d755 into apache:trunk Oct 3, 2024
7 checks passed
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
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 ci-approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants