kotlin icon indicating copy to clipboard operation
kotlin copied to clipboard

Fix directory creation race condition

Open rickclephas opened this issue 1 year ago • 0 comments

Test generation has been parallelized in https://github.com/JetBrains/kotlin/commit/bb8a46c3a0d69ffe57abbbe43e28afd434430fdf. This however creates a race condition in case a directory needs to be created for multiple tests. mkdirs only returns true if the directory was actually created, adding an additional check on the existence of the directory should solve that.

rickclephas avatar Jul 08 '24 19:07 rickclephas