Fix broken assertion

This commit is contained in:
Stéphane Nicoll
2024-08-08 15:44:03 +02:00
parent cc561a1106
commit efba8de163

View File

@@ -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"));