denis-chudov commented on code in PR #6350: URL: https://github.com/apache/ignite-3/pull/6350#discussion_r2250076982
########## modules/metrics-exporter-otlp/src/integrationTest/java/org/apache/ignite/internal/metrics/exporters/ItOtlpMetricsTest.java: ########## @@ -95,7 +93,8 @@ void otlpMetricsGetCorrectlyReported() { cluster.runningNodes().forEach(node -> { MetricManager metricManager = unwrapIgniteImpl(node).metricManager(); - assertThat(metricManager.enabledExporters(), contains(instanceOf(OtlpPushMetricExporter.class))); + boolean contains = metricManager.enabledExporters().stream().anyMatch(e -> e.getClass().equals(OtlpPushMetricExporter.class)); Review Comment: fixed using `containsInRelativeOrder` which allows spaces in the array that it accepts. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org