bbejeck commented on code in PR #21120:
URL: https://github.com/apache/kafka/pull/21120#discussion_r2608145560


##########
streams/src/test/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStoreTest.java:
##########
@@ -530,6 +530,8 @@ public void shouldTrackOldestOpenIteratorTimestamp() {
         final KafkaMetric oldestIteratorTimestampMetric = 
metric("oldest-iterator-open-since-ms");
         assertThat(oldestIteratorTimestampMetric, not(nullValue()));
 
+        assertThat(oldestIteratorTimestampMetric.metricValue(), equalTo(0L));

Review Comment:
   Added this to validate the `KafkaMetric.value()` returns `0L` the window and 
session tests had this line so I put here to be consistent.



-- 
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]

Reply via email to