-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Currently, when test cases are executed in parallel (like with parallelize_me! of MiniTest), mapping file is read and written at the same time and the file becomes corrupt.
I noticed this when I was trying TTNT in actionpack directory of rails/rails. The parallelization was specified here and when I comment it out, rake ttnt:test:anchor finished successfully (without commenting out, mapping file became corrupt).
I have 2 options for now:
- Disable
parallelize_me!somehow - Lock mapping file and hope parallelized executions stop when trying to access locked file
I think users can make tests run in parallel even without parallelize_me!, so second approach seems better.
Metadata
Metadata
Assignees
Labels
No labels