snazy commented on code in PR #2343:
URL: https://github.com/apache/polaris/pull/2343#discussion_r2275721512


##########
runtime/test-common/build.gradle.kts:
##########
@@ -32,10 +32,21 @@ configurations.all {
 }
 
 dependencies {
+  implementation(project(":polaris-core"))
+  implementation(libs.jakarta.ws.rs.api)
   implementation(enforcedPlatform(libs.quarkus.bom))
   implementation("io.quarkus:quarkus-junit5")
+
   implementation(platform(libs.testcontainers.bom))
   implementation("org.testcontainers:testcontainers")
   implementation("org.testcontainers:postgresql")
+
+  implementation(libs.testcontainers.keycloak) {
+    exclude(group = "org.keycloak", module = "keycloak-admin-client")
+  }
+  // Keycloak Admin Client brings RESTEasy Classic, which conflicts with 
Quarkus RESTEasy Reactive;
+  // it must not be present during Quarkus augmentation otherwise Quarkus 
tests won't start.
+  compileOnly(libs.keycloak.admin.client)

Review Comment:
   I recall that RESTEasy classic vs reactive issue from Nessie, where it's 
resolved [this 
way](https://github.com/projectnessie/nessie/blob/b7bd05b1a1c7a519fd5e3b121ce787d4e0cb812b/servers/quarkus-server/build.gradle.kts#L148-L151).
 But the effect's the same: exclude RESTEasy Classic.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to