Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 82939
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

Owner: Nobody in particular
Requestors: KENTNL [...]

Bug Information
Severity: Important
Broken in: 0.86-TRIAL-2
Fixed in: (no value)

Subject: Hash-Randomization causes 10_analyse.t to fail
As I reported here on Test-CPAN-Meta-YAML , the order of ->error() is not consistent between runs, and MCA 's tests ( 10_analyse.t )  inherently rely on one specific ordering.

I have extracted the broken parts of 10_analyse.t into a seperate test case that spawns a child perl instance with predetermined seed values to replicate the failure consistently:


And to remedy this issue, either a)  Test::CPAN::Meta::YAML needs to change their code to be predictable , or , b) MCA's tests should sort the values returned from ->error() to enforce some testable consistency.

A possible way to solve this problem is just to arbitrarily sort the errors.
fixed in 0.87

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

Please report any issues with to