jamesnetherton commented on code in PR #8786:
URL: https://github.com/apache/camel-quarkus/pull/8786#discussion_r3458879995
##########
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:
Yes, it is set in the test:
https://github.com/apache/camel-quarkus/blob/main/integration-tests/micrometer/src/main/resources/application.properties#L18
It was an old convention that we did that in the tests. But we stopped doing
it a long time ago for newer tests.
--
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]