Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 120920
Status: open
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.000
Fixed in: (no value)



Subject: Tests fail with mutliple test jobs

When HARNESS_JOBS="j10", tests fail regularly with serious errors.

When HARNESS_JOBS="j1", tests pass.

This usually means the tests are re-using the same files without intending to.

This is not /always/ avoidable though, so depending on the nature of your code,  adding a rulesfile as described in https://metacpan.org/pod/TAP::Harness#new ( see the entries about "rules" and "rulesfile" and their linked documentation ) and then test-requiring on a new-enough TAP::Harness can be a viable compromise.



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
Subject: build.log

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #120920] Tests fail with mutliple test jobs
Date: Tue, 4 Apr 2017 13:18:24 +0200
To: Kent Fredric via RT <bug-Mail-Box [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Kent Fredric via RT (bug-Mail-Box@rt.cpan.org) [170404 09:25]: Show quoted text
> Tue Apr 04 05:25:05 2017: Request 120920 was acted upon. > Transaction: Ticket created by KENTNL > Queue: Mail-Box > Subject: Tests fail with mutliple test jobs > Broken in: 3.000 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120920 > > > > When HARNESS_JOBS="j10", tests fail regularly with serious errors. > When HARNESS_JOBS="j1", tests pass.
Some tests do use the same temporary directory to run. I'll have a look whether that is required (they share tests settings) -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net