Mmuzaf commented on code in PR #3068:
URL: https://github.com/apache/cassandra/pull/3068#discussion_r1478261806
##########
test/unit/org/apache/cassandra/metrics/CassandraMetricsRegistryTest.java:
##########
@@ -156,6 +162,32 @@ public void testTimer()
assertEquals(expectedBucketsWithValues, bucketsWithValues);
}
+ @Test
+ public void testTickMeters() throws InterruptedException
+ {
+ CassandraMetricsRegistry cmr = new
CassandraMetricsRegistry(Ints.checkedCast(TimeUnit.SECONDS.toMicros(1)));
Review Comment:
```suggestion
CassandraMetricsRegistry cmr = new
CassandraMetricsRegistry(TimeUnit.SECONDS.toMicros(1));
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]