From efba8de1635014d9f85c3c130a90510d35743dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 8 Aug 2024 15:44:03 +0200 Subject: [PATCH] Fix broken assertion --- .../actuator/webmvc/ActuatorWebMvcApplicationAotTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java b/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java index cf80000..cd79ac2 100644 --- a/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java +++ b/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java @@ -162,7 +162,7 @@ class ActuatorWebMvcApplicationAotTests { .consumeWith((result) -> assertThat(new String(result.getResponseBodyContent())) // Check custom timer .contains("custom_timer_seconds_max 5.0") - .contains("custom_timer_seconds_count 1.0") + .contains("custom_timer_seconds_count 1") .contains("custom_timer_seconds_sum 5.0") // Check JVM metric .contains("# TYPE jvm_threads_peak_threads gauge"));