You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/03/12 11:59:00 UTC
(camel) branch main updated: CAMEL-21860: IntelliJ cannot run camel k8s tests (#17438)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 912b174afa5 CAMEL-21860: IntelliJ cannot run camel k8s tests (#17438)
912b174afa5 is described below
commit 912b174afa58ed5d947e5f38afe05a26b6c0ea2a
Author: Thomas Diesler <td...@redhat.com>
AuthorDate: Wed Mar 12 12:58:54 2025 +0100
CAMEL-21860: IntelliJ cannot run camel k8s tests (#17438)
---
.../src/test/java/org/apache/camel/test/oauth/AbstractKeycloakTest.java | 2 +-
.../apache/camel/test/infra/common/services/InfrastructureService.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-oauth/src/test/java/org/apache/camel/test/oauth/AbstractKeycloakTest.java b/components/camel-oauth/src/test/java/org/apache/camel/test/oauth/AbstractKeycloakTest.java
index a5d0bab44c2..e23d7f75bcc 100644
--- a/components/camel-oauth/src/test/java/org/apache/camel/test/oauth/AbstractKeycloakTest.java
+++ b/components/camel-oauth/src/test/java/org/apache/camel/test/oauth/AbstractKeycloakTest.java
@@ -28,7 +28,7 @@ abstract class AbstractKeycloakTest {
static final int port = 8080; // AvailablePortFinder.getNextAvailable();
static final String APP_BASE_URL = "http://127.0.0.1:" + port + "/";
- static final String KEYCLOAK_BASE_URL = "https://keycloak.local:30443/";
+ static final String KEYCLOAK_BASE_URL = "https://keycloak.local/kc/";
static final String TEST_REALM = "camel";
static final String TEST_CLIENT_ID = "camel-client";
static final String TEST_CLIENT_SECRET = "camel-client-secret";
diff --git a/test-infra/camel-test-infra-common/src/main/java/org/apache/camel/test/infra/common/services/InfrastructureService.java b/test-infra/camel-test-infra-common/src/main/java/org/apache/camel/test/infra/common/services/InfrastructureService.java
index 681c80fba7d..c5a6f012e21 100644
--- a/test-infra/camel-test-infra-common/src/main/java/org/apache/camel/test/infra/common/services/InfrastructureService.java
+++ b/test-infra/camel-test-infra-common/src/main/java/org/apache/camel/test/infra/common/services/InfrastructureService.java
@@ -36,7 +36,7 @@ public interface InfrastructureService extends AutoCloseable {
void shutdown();
@Override
- default void close() {
+ default void close() throws Exception {
shutdown();
}
}