Subject: | Test platform is not multi-process friendly |
While TravisCI ran the test platform with the default multi-processed settings:
export HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
It seems to run into race conditions because of the re-use of an "example.log" file.
PERL_DL_NONLAZY=1 /home/travis/perl5/perlbrew/perls/5.16/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[23:02:46] t/001Level.t ......... ok 7 ms
[23:02:46] t/003Layout-Rr.t ..... ok 46 ms
===( 95;0 31/74 18/24 6/26 1/3 0/2 2/2 1/3 0/5 0/... )===Cannot open example.log at t/005Config-Perl.t line 37.
# Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 2 just after 1.
[23:02:46] t/005Config-Perl.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
[23:02:46] t/007LogPrio.t ....... ok 58 ms
[23:02:46] t/003Layout.t ........ ok 67 ms
[23:02:46] t/008ConfCat.t ....... ok 61 ms
The test platform should be changed to use something like "example-$$.log" in the files.
http://grep.cpan.me/?q=example.log+dist=Log-Log4perl
Actually, it looks like you're Doing the Right Thing in 041SafeEval.t