mjsax commented on a change in pull request #9010: URL: https://github.com/apache/kafka/pull/9010#discussion_r453131515
########## File path: streams/src/test/java/org/apache/kafka/streams/processor/internals/StateDirectoryTest.java ########## @@ -507,4 +510,51 @@ public void shouldLockGlobalStateDirectoryWhenDirectoryCreationDisabled() throws initializeStateDirectory(false); assertTrue(directory.lockGlobalState()); } + + @Test + public void shouldNotFailWhenCreatingTaskDirectoryInParallel() throws Exception { Review comment: Without the fix, this test fails like 100% of the time for me. (Kinda surprising -- seems that the disk IO operations give us nice thread context switches so we hit the issue reliably.) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org