abhijeetk88 commented on code in PR #14363:
URL: https://github.com/apache/kafka/pull/14363#discussion_r1320682506


##########
core/src/test/scala/unit/kafka/log/remote/RemoteIndexCacheTest.scala:
##########
@@ -143,6 +143,28 @@ class RemoteIndexCacheTest {
     verifyNoInteractions(rsm)
   }
 
+  @Test
+  def testFetchIndexForMissingTransactionIndex(): Unit = {
+    when(rsm.fetchIndex(any(classOf[RemoteLogSegmentMetadata]), 
any(classOf[IndexType])))

Review Comment:
   In this test, I am trying to verify that if the actual implementation throws 
the `RemoteResourceNotFoundException`, it is handled correctly by the 
`createCacheEntry` method.



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

Reply via email to