You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/11/17 15:39:26 UTC

[camel-quarkus-examples] branch camel-quarkus-main updated: Adapt HealthTest to changes in Camel 3.13.0

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

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


The following commit(s) were added to refs/heads/camel-quarkus-main by this push:
     new 2ca1f65  Adapt HealthTest to changes in Camel 3.13.0
2ca1f65 is described below

commit 2ca1f65f87d31643083b6159506ddd62ed1c7ee2
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"));