Github user ivanjunckes commented on a diff in the pull request:

    https://github.com/apache/tomee/pull/218#discussion_r236343729
  
    --- Diff: examples/mp-metrics-timed/src/test/java/WeatherServiceTest.java 
---
    @@ -157,7 +159,10 @@ private void assertJsonFormat(final String metricPath) 
{
             };
     
             Stream.of(expected)
    -                .forEach(text -> assertTrue("Expected: " + text + " to be 
present in " + metric, metric.contains(text)));
    +                .forEach(text ->
    +                        assertTrue(
    +                                "Expected: " + text + " to be present in " 
+ metric,
    +                                
expectedJson.getJsonObject("weather_day_status").get("count") != null));
    --- End diff --
    
    Done :)


---

Reply via email to