Subject: | Possible hash randomization problems in test suite |
With newer perls (e.g. 5.18.4) there are test failures which look like it's caused by the newly invented hash randomization in these perls:
# Failed test at t/02-search.t line 10.
# 'Mandatory parameters 'lon', 'lat', 'q' missing in call to WebService::Wikimapia::search
# at /usr/perl5.20.0/lib/site_perl/5.20.0/MouseX/Params/Validate.pm line 168.
# MouseX::Params::Validate::validated_hash(ARRAY(0x43640f18), "q", HASH(0x437886a8), "lat", HASH(0x41413678), "lon", HASH(0x437a2b10), "MX_PARAMS_VALIDATE_NO_CACHE", 1, ...) called at /usr/home/eserte/.cpan/build/WebService-Wikimapia-0.04-fzdqub/blib/lib/WebService/Wikimapia.pm line 343
# WebService::Wikimapia::search(undef) called at t/02-search.t line 9
# eval {...} called at t/02-search.t line 9
# '
# doesn't match '(?^:Mandatory parameters \'lat\'\, \'q\'\, \'lon\' missing)'
# Failed test at t/02-search.t line 13.
# 'Mandatory parameters 'lon', 'lat' missing in call to WebService::Wikimapia::search
# at /usr/perl5.20.0/lib/site_perl/5.20.0/MouseX/Params/Validate.pm line 168.
# MouseX::Params::Validate::validated_hash(ARRAY(0x437b0eb8), "q", HASH(0x414137b0), "lat", HASH(0x437a26c0), "lon", HASH(0x437a7d50), "MX_PARAMS_VALIDATE_NO_CACHE", 1, ...) called at /usr/home/eserte/.cpan/build/WebService-Wikimapia-0.04-fzdqub/blib/lib/WebService/Wikimapia.pm line 343
# WebService::Wikimapia::search(undef, "q", "Recreation") called at t/02-search.t line 12
# eval {...} called at t/02-search.t line 12
# '
# doesn't match '(?^:Mandatory parameters \'lat\'\, \'lon\' missing)'
# Looks like you failed 2 tests of 3.
t/02-search.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests