Skip Menu |

This queue is for tickets about the Class-Trait CPAN distribution.

Report information
The Basics
Id: 81598
Status: open
Priority: 0/
Queue: Class-Trait

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

Bug Information
Severity: Important
Broken in: 0.31
Fixed in: (no value)



Subject: Test failures due to hash randomisation in perl 5.17.6
Since bleadperl v5.17.5-518-g7dc8663 your tests are failing frequently. That commit introduced hash key randomization and it seems at least the tests t/130_trait_runtime_instance.t t/140_trait_runtime_class.t are hit by that. Find a sample fail report at: http://www.cpantesters.org/cpan/report/2d39c6d8-3171-11e2-9e74-50a5a290f8f5 You can read more about the change at http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 or at http://www.perlmonks.org/?node_id=1005122 You may have to run the test several times until the randomization causes a fail. HTH&&Thanks&&Regards,
On 2012-11-30 23:40:12, ANDK wrote: Show quoted text
> Since bleadperl v5.17.5-518-g7dc8663 your tests are failing > frequently. > That commit introduced hash key randomization and it seems at least > the > tests > > t/130_trait_runtime_instance.t > t/140_trait_runtime_class.t > > are hit by that. Find a sample fail report at: > > http://www.cpantesters.org/cpan/report/2d39c6d8-3171-11e2-9e74- > 50a5a290f8f5 > > You can read more about the change at > http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 > or at http://www.perlmonks.org/?node_id=1005122 > > You may have to run the test several times until the randomization > causes a fail. > > HTH&&Thanks&&Regards,
Workaround: setup a distroprefs file like this: --- match: distribution: '/Class-Trait-0\.31\.' perlconfig: version: '^5\.(18|19|20|21|22|23)\.' test: env: PERL_HASH_SEED: 2 PERL_PERTURB_KEYS: NO