Fix enums following upstream micrometer change
See gh-11575
This commit is contained in:
@@ -131,7 +131,7 @@ public class MetricsEndpointTests {
|
||||
|
||||
private Optional<Double> getCount(MetricsEndpoint.MetricResponse response) {
|
||||
return response.getMeasurements().stream()
|
||||
.filter((ms) -> ms.getStatistic().equals(Statistic.Count)).findAny()
|
||||
.filter((ms) -> ms.getStatistic().equals(Statistic.COUNT)).findAny()
|
||||
.map(MetricsEndpoint.Sample::getValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user