Subject: | Tests go up in flames under HARNESS_OPTIONS=j10 |
Usually this issue indicates either that 2 tests have an interdependence of some kind, either
a: one test relies on a previous test being run to provide the right scenario for unning under
b: two tests inadvertently do IO of some kind to the same path, and tests see IO that they didn't expect as a result.
#b usually just means you've got tests not using File::Temp
Here, you can see it runs just fine on a standard single threaded test run: https://gist.github.com/kentfredric/5777704
However, here is the catastrophe you get when you run tests in parallel:
https://gist.github.com/kentfredric/5777727
The summary of which is:
Here's the parallel run again, but without OVER NINE THOUSAND lines of "closed file handle" warnings.