gitlw commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r850665085
########## core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala: ########## @@ -2615,7 +2615,10 @@ class ReplicaManagerTest { @Test def testStopReplicaWithDeletePartitionAndExistingPartitionAndNewerLeaderEpochAndIOException(): Unit = { - testStopReplicaWithExistingPartition(2, true, true, Errors.KAFKA_STORAGE_ERROR) + // Even though we are trying to trigger an IOException by deleting the underlying log directory, + // given the async deletion of a replica no longer needs the underlying directory, the stopReplica operation Review Comment: Please check my reply below and see if that makes sense. -- 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