jeel2420 commented on code in PR #14483: URL: https://github.com/apache/kafka/pull/14483#discussion_r1345548349
########## core/src/test/scala/unit/kafka/log/remote/RemoteIndexCacheTest.scala: ########## @@ -132,7 +133,7 @@ class RemoteIndexCacheTest { // this call should have invoked fetchOffsetIndex, fetchTimestampIndex once val resultPosition = cache.lookupOffset(rlsMetadata, offsetPosition1.offset) assertEquals(offsetPosition1.position, resultPosition) - verifyFetchIndexInvocation(count = 1, Seq(IndexType.OFFSET, IndexType.TIMESTAMP)) + verifyFetchIndexInvocation(count = 1, Seq(IndexType.OFFSET)) Review Comment: Checking fetchIndex invocation for Offset index type only as fetchIndex mock is creating all index files during the first invocation so for remaining index types there will be no fetchIndex Invocation. -- 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