showuon commented on code in PR #14511: URL: https://github.com/apache/kafka/pull/14511#discussion_r1360211831
########## core/src/test/scala/unit/kafka/log/remote/RemoteIndexCacheTest.scala: ########## @@ -525,7 +525,7 @@ class RemoteIndexCacheTest { .filter(path => path.getFileName.toString.endsWith(suffix)) .findAny() } catch { - case _: FileNotFoundException => Optional.empty() + case _: NoSuchFileException => Optional.empty() Review Comment: Wait, I checked the history, the catch `FileNotFoundException` is a typo, should be `NoSuchFileException`. OK, make sense. Thanks. -- 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