Skip Menu |

This queue is for tickets about the Geography-States CPAN distribution.

Report information
The Basics
Id: 105985
Status: resolved
Priority: 0/
Queue: Geography-States

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

Bug Information
Severity: (no value)
Broken in: 2009040901
Fixed in: 2015072102



Subject: Possible hash randomization problems in test suite
http://matrix.cpantesters.org/?dist=Geography-States+2009040901 shows a random fail/pass pattern for perl >= 5.17.6. This is an indication for a hash randomization problem in the tests or the module itself.
On 2015-07-20 12:59:12, SREZIC wrote: Show quoted text
> http://matrix.cpantesters.org/?dist=Geography-States+2009040901 shows > a random fail/pass pattern for perl >= 5.17.6. This is an indication > for a hash randomization problem in the tests or the module itself.
I concur. When I run the tests manually, I see random results for $cnd->state('Quebec') -- sometimes it returns 'QC', and other times 'PQ'.
On 2015-07-21 12:33:03, ETHER wrote: Show quoted text
> On 2015-07-20 12:59:12, SREZIC wrote:
> > http://matrix.cpantesters.org/?dist=Geography-States+2009040901 shows > > a random fail/pass pattern for perl >= 5.17.6. This is an indication > > for a hash randomization problem in the tests or the module itself.
> > > I concur. > When I run the tests manually, I see random results for $cnd-
> >state('Quebec') -- sometimes it returns 'QC', and other times 'PQ'.
(An aside -- converting the test to using is() from Test::More would cause the failing text to be included in the output, making it easier to diagnose the issue. It looks like this distribution pre-dates the existence of Test.pm or Test::More, as it is manually outputting "ok" and "not ok" strings, without the use of any test library at all.)
Fixed in version 2015072102