nizhikov commented on a change in pull request #8937:
URL: https://github.com/apache/ignite/pull/8937#discussion_r604689847



##########
File path: 
modules/core/src/test/java/org/apache/ignite/internal/metric/MetricsSelfTest.java
##########
@@ -130,11 +131,13 @@ public void testIntCounter() throws Exception {
     /** */
     @Test
     public void testRegister() throws Exception {
-        AtomicLongMetric l = new AtomicLongMetric("rtest", "test");
+        String mName = "rtest";

Review comment:
       Let's add negative test - metric registration fails with wrong name.




-- 
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:
[email protected]


Reply via email to