mans2singh commented on a change in pull request #8668: [FLINK-12784][metrics] Support retention policy for InfluxDB metrics … URL: https://github.com/apache/flink/pull/8668#discussion_r293731421
########## File path: flink-metrics/flink-metrics-influxdb/src/test/java/org/apache/flink/metrics/influxdb/InfluxdbReporterTest.java ########## @@ -96,33 +96,36 @@ public void testMetricRegistration() throws Exception { @Test public void testMetricReporting() throws Exception { - MetricRegistryImpl metricRegistry = createMetricRegistry(); + String retentionPolicy = "one_hour"; + MetricRegistryImpl metricRegistry = createMetricRegistry(retentionPolicy); try { String metricName = "TestCounter"; Counter counter = registerTestMetric(metricName, metricRegistry); counter.inc(42); stubFor(post(urlPathEqualTo("/write")) - .willReturn(aResponse() - .withStatus(200))); + .willReturn(aResponse() + .withStatus(200))); Review comment: @1u0 - Updated formatting based on your recommendation. Please let me know if have any more comments. Thanks again. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services