Template2
Template2 copied to clipboard
"make test" fails with parallel tests enabled [rt.cpan.org #61563]
trafficstars
Migrated from rt.cpan.org#61563 (status was 'new')
Requestors:
From [email protected] on 2010-09-22 12:31:55:
With HARNESS_OPTIONS=-j$n and $n != 1 these will fail:
Test Summary Report
-------------------
t/compile5.t (Wstat: 512 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 2
t/compile2.t (Wstat: 0 Tests: 15 Failed: 2)
Failed tests: 1-2
t/compile3.t (Wstat: 0 Tests: 14 Failed: 2)
Failed tests: 4-5
Files=89, Tests=2787, 11 wallclock secs ( 0.71 usr 0.56 sys + 10.18 cusr
1.67 csys = 13.12 CPU)
@avar thanks
From #126 Migrated from rt.cpan.org#99576 (status was 'new')
Requestors: @karenetheridge
From [email protected] on 2014-10-18 23:43:53:
Tests reliably fail when run with -j9, or HARNESS_OPTIONS=j9. It looks like some temporary files are being reused across tests, causing the parallel processes to stomp on each other. Temp files and directories should be created using File::Temp to ensure they stay isolated.