You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2021/11/25 09:10:21 UTC

[camel-quarkus-examples] 04/08: Adapt HealthTest to changes in Camel 3.13.0

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit 59c754deeeb8cd8d618a4e7c98d9ea256922e9bc
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Nov 17 14:13:56 2021 +0000

    Adapt HealthTest to changes in Camel 3.13.0
---
 health/src/test/java/org/acme/health/HealthTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/health/src/test/java/org/acme/health/HealthTest.java b/health/src/test/java/org/acme/health/HealthTest.java
index 81f6b53..ebda3db 100644
--- a/health/src/test/java/org/acme/health/HealthTest.java
+++ b/health/src/test/java/org/acme/health/HealthTest.java
@@ -30,9 +30,9 @@ public class HealthTest {
     public void testHealth() throws InterruptedException {
         RestAssured.get("/q/health")
                 .then()
-                .statusCode(200)
-                .body("status", is("UP"),
-                        "checks.status", containsInAnyOrder("UP", "UP"),
+                .statusCode(503)
+                .body("status", is("DOWN"),
+                        "checks.status", containsInAnyOrder("DOWN", "UP"),
                         "checks.name",
                         containsInAnyOrder("camel-readiness-checks", "camel-liveness-checks"),
                         "checks.data.context", containsInAnyOrder(null, "UP"));