jamesnetherton opened a new issue, #7734:
URL: https://github.com/apache/camel-quarkus/issues/7734

   After re-enabling the `kafka-oauth` test in the Quarkus Platform, it fails 
with:
   
   ```
   Caused by: java.util.concurrent.CompletionException: 
java.lang.RuntimeException: Unable to start Quarkus test resource class 
org.apache.camel.quarkus.kafka.oauth.it.KafkaKeycloakTestResource
        at 
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
        at 
java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
        at 
java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
   Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource 
class org.apache.camel.quarkus.kafka.oauth.it.KafkaKeycloakTestResource
        at 
io.quarkus.test.common.TestResourceManager$TestResourceRunnable.run(TestResourceManager.java:690)
        at 
java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
        ... 3 more
   Caused by: io.quarkus.runtime.configuration.ConfigurationException: Please 
set either 'keycloak.docker.image' or 'keycloak.version' system property
        at 
io.quarkus.test.keycloak.server.KeycloakContainer.getKeycloakImageName(KeycloakContainer.java:26)
        at 
io.quarkus.test.keycloak.server.KeycloakContainer.<init>(KeycloakContainer.java:31)
        at 
org.apache.camel.quarkus.kafka.oauth.it.KafkaKeycloakTestResource.start(KafkaKeycloakTestResource.java:54)
        at 
io.quarkus.test.common.TestResourceManager$TestResourceRunnable.run(TestResourceManager.java:684)
        ... 4 more
   ```
   
   There's some additional configuration required for the surefure / failsafe 
plugin for the Keycloak container image:
   
   
https://github.com/apache/camel-quarkus/blob/main/integration-tests/kafka-oauth/pom.xml#L128-L138
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to