This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 8f7747f Fix MasterTest health check endpoint path
8f7747f is described below
commit 8f7747f07405ccd769297d7e31e8e67206cf578f
Author: James Netherton <[email protected]>
AuthorDate: Mon Jun 7 10:25:57 2021 +0100
Fix MasterTest health check endpoint path
Fixes #2660
---
.../org/apache/camel/quarkus/component/master/it/MasterTest.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
a/integration-tests/master/src/test/java/org/apache/camel/quarkus/component/master/it/MasterTest.java
b/integration-tests/master/src/test/java/org/apache/camel/quarkus/component/master/it/MasterTest.java
index 3e0a385..e7465a2 100644
---
a/integration-tests/master/src/test/java/org/apache/camel/quarkus/component/master/it/MasterTest.java
+++
b/integration-tests/master/src/test/java/org/apache/camel/quarkus/component/master/it/MasterTest.java
@@ -28,11 +28,8 @@ import io.restassured.RestAssured;
import org.apache.camel.quarkus.test.support.process.QuarkusProcessExecutor;
import org.awaitility.Awaitility;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.zeroturnaround.exec.StartedProcess;
-//https://github.com/apache/camel-quarkus/issues/2660
-@DisabledIfEnvironmentVariable(named = "CI", matches = "true")
@QuarkusTest
class MasterTest {
@@ -78,7 +75,7 @@ class MasterTest {
try {
int status = RestAssured.given()
.port(port)
- .get("/health")
+ .get("/q/health")
.then()
.extract()
.statusCode();