Template2 icon indicating copy to clipboard operation
Template2 copied to clipboard

"make test" fails with parallel tests enabled [rt.cpan.org #61563]

Open atoomic opened this issue 7 years ago • 2 comments
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)

atoomic avatar Oct 05 '18 16:10 atoomic

@avar thanks

toddr avatar Oct 05 '18 19:10 toddr

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.

toddr avatar Oct 05 '18 20:10 toddr