lucasbru commented on code in PR #12935: URL: https://github.com/apache/kafka/pull/12935#discussion_r1040807515
########## streams/src/test/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsRecorderTest.java: ########## @@ -346,20 +346,6 @@ public void shouldNotAddItselfToRecordingTriggerWhenNotEmpty() { verifyNoMoreInteractions(recordingTrigger); } - @Test - public void shouldCloseStatisticsWhenValueProvidersAreRemoved() { - recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, cacheToAdd1, statisticsToAdd1); - recorder.removeValueProviders(SEGMENT_STORE_NAME_1); - verify(statisticsToAdd1).close(); - } - - @Test - public void shouldNotCloseStatisticsWhenValueProvidersWithoutStatisticsAreRemoved() { - recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, cacheToAdd1, null); - recorder.removeValueProviders(SEGMENT_STORE_NAME_1); - verify(statisticsToAdd1, never()).close(); - } Review Comment: Yes, done -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org