Skip Menu |

This queue is for tickets about the DBIx-Config CPAN distribution.

Report information
The Basics
Id: 112888
Status: resolved
Priority: 0/
Queue: DBIx-Config

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

Bug Information
Severity: (no value)
Broken in:
  • 0.000002
  • 0.000003
Fixed in: (no value)



Subject: t/02_load_credentials.t fails (hash randomization?)
Test output: # Failed test 'Get DB info from array.' # at t/02_load_credentials.t line 112. # Structures begin differing at: # $got->{dsn} = 'dbi:mysql:dbname=acronym' # $expected->{dsn} = 'dbi:SQLite:dbfile=:memory:' # Looks like you failed 1 test of 6. t/02_load_credentials.t ...................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests The overview of test reports http://matrix.cpantesters.org/?dist=DBIx-Config%200.000002 shows that test failures happen only after 5.17.x and are random. This suggests that we may have a hash randomization problem here.
On 2016-03-10 01:31:45, SREZIC wrote: Show quoted text
> Test output: > > # Failed test 'Get DB info from array.' > # at t/02_load_credentials.t line 112. > # Structures begin differing at: > # $got->{dsn} = 'dbi:mysql:dbname=acronym' > # $expected->{dsn} = 'dbi:SQLite:dbfile=:memory:' > # Looks like you failed 1 test of 6. > t/02_load_credentials.t ...................... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/6 subtests > > The overview of test reports http://matrix.cpantesters.org/?dist=DBIx- > Config%200.000002 shows that test failures happen only after 5.17.x > and are random. This suggests that we may have a hash randomization > problem here.
Happens also with DBIx-Config-0.000003.
This has been corrected in release 0.000005 with the following changes: https://metacpan.org/diff/file?target=SYMKAT/DBIx-Config-0.000005/&source=SYMKAT%2FDBIx-Config-0.000004 Thank you!