Skip Menu |
 

This queue is for tickets about the IO-Compress CPAN distribution.

Report information
The Basics
Id: 56942
Status: resolved
Priority: 0/
Queue: IO-Compress

People
Owner: Nobody in particular
Requestors: rafl [...] debian.org
Cc:
AdminCc:

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



Subject: Testsuite fails when being run in parallel
Date: Mon, 26 Apr 2010 18:28:43 +0200
To: bug-IO-Compress [...] rt.cpan.org
From: Florian Ragwitz <rafl [...] debian.org>
Download (untitled) / with headers
text/plain 420b
The attached log shows how the IO-Compress testsuite fails miserably when being run in parallel, i.e. with prove -j2. Running the tests in order and one by one makes everything pass again. It'd be nice if the order dependencies between the tests could be eliminated so the tests can be run in a reasonable time on modern machines with more than one cpu. -- BOFH excuse #185: system consumed all the paper for paging

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Hmmm, I'll see if I can sort that out.
Download (untitled) / with headers
text/plain 244b
Florian - was looking at this bug report you filed last year. Can you give me some details on how you ran the tests in parallel. I tried "make -j test" an that worked fine for me. cheers, and sorry for the delay in following up on this. Paul
Subject: Re: [rt.cpan.org #56942] Testsuite fails when being run in parallel
Date: Mon, 02 May 2011 12:10:49 +0200
To: bug-IO-Compress [...] rt.cpan.org
From: Florian Ragwitz <rafl [...] debian.org>
Download (untitled) / with headers
text/plain 504b
Paul, thanks for looking at this. "Paul Marquess via RT" <bug-IO-Compress@rt.cpan.org> writes: Show quoted text
> Florian - was looking at this bug report you filed last year. Can you > give me some details on how you ran the tests in parallel. I tried > "make -j test" an that worked fine for me.
after building, 'prove -b -j3 t/*.t' should do the trick. Also, if you have a recent enough test harness, setting the HARNESS_OPTIONS environment variable to 'j3' will also make 'make test' run its tests in parallel.
Download (untitled)
application/pgp-signature 197b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 198b
Hi Florian - setting HARNESS_OPTIONS did the trick. I'm seeing a pile of failures. I think they are all caused by using hard-wired filenames for temporary files. Should be easy to sort out. Paul
I've just uploaded a new version (2.034) of the module to CPAN that addresses the issue. Paul


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.