ygerzhedovich commented on code in PR #3914:
URL: https://github.com/apache/ignite-3/pull/3914#discussion_r1639562416
##########
modules/cli/src/integrationTest/java/org/apache/ignite/internal/cli/call/metric/ItEnabledMetricCallsTest.java:
##########
@@ -69,15 +75,8 @@ void nodeMetricSourcesList() {
// Then
assertThat(output.hasError()).isFalse();
- MetricSource[] expectedMetricSources = {
- new MetricSource().name("jvm").enabled(true),
- new MetricSource().name("client.handler").enabled(false),
- new MetricSource().name("sql.client").enabled(false),
- new MetricSource().name("sql.plan.cache").enabled(false)
- };
-
// And
- assertThat(output.body()).contains(expectedMetricSources);
+ assertThat(output.body()).contains(new
MetricSource().name("jvm").enabled(true));
Review Comment:
didn't catch the change. We should check that we have the expected list of
metrics, but checks only 'jvm' one
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]