Skip to content

Conversation

@dimas-b
Copy link
Contributor

@dimas-b dimas-b commented Dec 13, 2025

@QuarkusIntegrationTest uses the regular server build with only non-test dependencies. Therefore, those tests naturally belong into the server module.

This change is as a prerequisite for #3252 to allow the polaris-runtime-service module to avoid having Polaris extensions as runtime dependencies. Extensions will be runtime dependencies only in the polaris-server module.

Checklist

  • 🛡️ Don't disclose security issues! (contact [email protected])
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

implementation(enforcedPlatform(libs.quarkus.bom))
implementation("io.quarkus:quarkus-container-image-docker")

testImplementation("io.quarkus:quarkus-junit5")
Copy link
Contributor

Choose a reason for hiding this comment

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

Two questions / doubts here:

  1. Why modify the testImplementation configuration here? I don't think it applies to integration tests.
  2. Do we need to add testImplementation(enforcedPlatform(libs.quarkus.bom))?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, my mistake. Thx for catching it... will fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to make a build config change and move a non-QuarkusIntegrationTest back to runtime/service... but I hope the end result is better now :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we rename this test to something ending with Test? It is also oddly designed, the nested class seems unnecessary.

Copy link
Contributor

Choose a reason for hiding this comment

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

BTW: the nested test class is not being executed, it is lacking the @Nested annotation. All in all, I think this test class could be deleted.

`@QuarkusIntegrationTest` uses the regular server build with only non-test dependencies. Therefore, those tests naturally belong into the `server` module.

This change is as a prerequisite for apache#3252 to allow the `polaris-runtime-service` module to avoid having Polaris extensions as runtime dependencies. Extensions will be runtime dependencies only in the `polaris-server` module.
@dimas-b dimas-b marked this pull request as draft December 17, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants