muralibasani commented on code in PR #21964:
URL: https://github.com/apache/kafka/pull/21964#discussion_r4559710825
##########
storage/src/test/java/org/apache/kafka/storage/internals/log/RemoteIndexCacheTest.java:
##########
@@ -535,9 +535,9 @@ public void testReloadCacheAfterClose() throws IOException,
RemoteStorageExcepti
cache.close();
Review Comment:
Yes, it is still needed. The close in cleanup() is only a safety net if the
test fails earlier.
If you prefer, I can add a comment above this line like "Close the cache
before reloading to simulate a restart."
--
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]