Skip Menu |

This queue is for tickets about the Parallel-PreForkManager CPAN distribution.

Report information
The Basics
Id: 123560
Status: resolved
Priority: 0/
Queue: Parallel-PreForkManager

People
Owner: mbradshaw [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: t/01-process-count-limit.t randomly fails
See subject. Overview of fail reports at CPAN Testers: http://matrix.cpantesters.org/?dist=Parallel-PreForkManager+1.20170417 I am working on a patch.
On 2017-11-08 06:19:14, SREZIC wrote: Show quoted text
> See subject. Overview of fail reports at CPAN Testers: > http://matrix.cpantesters.org/?dist=Parallel-PreForkManager+1.20170417 > > I am working on a patch.
The patch is here: http://cpan.metacpan.org/authors/id/$cascading_user_path/$cpan_patch_dir/$patch_filename The problem: uniq() must not be used on the worker results, because it's possible that the same worker does two jobs.
Thanks for that, could you check and repost the patch link, it appears to be broken. -Marc
Show quoted text
> The problem: uniq() must not be used on the worker results, because > it's possible that the same worker does two jobs.
Looking at this again I think the test could be improved if it were to count the number of forks. I have used your uniq() change and added a further test. Thanks.
On 2017-11-08 19:31:46, MBRADSHAW wrote: Show quoted text
> Thanks for that, > could you check and repost the patch link, it appears to be broken.
Sorry. It's http://cpan.metacpan.org/authors/id/S/SR/SREZIC/patches/Parallel-PreForkManager-1.20170417-RT123560.patch (but probably you found it already)