Skip Menu |

This queue is for tickets about the WebService-Wikimapia CPAN distribution.

Report information
The Basics
Id: 99305
Status: resolved
Priority: 0/
Queue: WebService-Wikimapia

People
Owner: MANWAR [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: 0.07



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
Hi Slaven, Thanks for reporting the issue. I am hoping to get it fixed by end of this week. Best Regards, Mohammad S Anwar
Hi, Sorry for late reply but the issue has been resolved in v0.07. Many Thanks. Best Regards, Mohammad S Anwar