squakez commented on code in PR #8786:
URL: https://github.com/apache/camel-quarkus/pull/8786#discussion_r3458825223


##########
integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java:
##########
@@ -255,6 +257,17 @@ public void micrometerHistoryShouldBeAvailableThroughJMX() 
throws Exception {
 
     }
 
+    @Test
+    void testAppInfo() {
+        RestAssured.get("/micrometer/appInfo")
+                .then()
+                .statusCode(200)
+                .body("'camel.runtime.provider'", is("Quarkus"))
+                // Avoid matching against explicit versions as it could change 
if the Quarkus Platform is updated with a new Quarkus Core
+                .body("'camel.runtime.version'", not(Matchers.emptyString()))
+                .body("'camel.context'", is("quarkus-camel-micrometer"));

Review Comment:
   This one was returning the real name of the context. It is not super 
important, but I wonder if we can keep it somehow. Or is the name of the 
context forced to that value in the test by any chance?



-- 
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