Skip Menu |

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

Report information
The Basics
Id: 102362
Status: resolved
Priority: 0/
Queue: WebService-Strava

People
Owner: techman [...] cpan.org
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: 0.05



Subject: t/WebService/Strava/Auth.t hangs or fails
Linux, perl 5.18, 5.16 $ perl -Mblib t/WebService/Strava/Auth.t ok 1 # skip No auth credentials found. ok 2 # skip No auth credentials found. ok 3 # skip No auth credentials found. Show quoted text
>> Dancer2 v0.11 server 20585 listening on http://0.0.0.0:3000
ok 4 - Auth Testing: Testing Cached API ok 5 - use WebService::Strava::Auth; # Subtest: Instantiation ok 1 - An object of class 'WebService::Strava::Auth' isa 'WebService::Strava::Auth' ok 2 - WebService::Strava::Auth->can(...) 1..2 ok 6 - Instantiation # Subtest: Get Current User Something went wrong, a JSON string wasn't returned at t/WebService/Strava/Auth.t line 29. Cannot run test (no (unexpected) warnings (via END block)) with active children at /home/c/perl5/perlbrew/perls/18.1i/lib/site_perl/5.18.1/Test/Warnings.pm line 116. END failed--call queue aborted at t/WebService/Strava/Auth.t line 276. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 22 just after 6. -- Alexandr Ciornii, http://chorny.net
Hi, Thanks for your bug report! I was just about to ask for some debug stuff, but I just noticed: Show quoted text
>> Dancer2 v0.11 server 20585 listening on http://0.0.0.0:3000
On my local testing mine loads with: Show quoted text
>> Dancer2 v0.153002 server 3756 listening on http://0.0.0.0:3001
I'm guessing it's probably due to some things in Dancer2 + appnames. I'll take a look. http://advent.perldancer.org/2014/10 Regards, Leon
Hi, I've done some tweaking to the way the testing works. You can see the change set here if interested. https://github.com/techman83/WebService-Strava3/pull/19 Hopefully that sorts it out. Thanks, Leon
Hi, That seems to have stemmed the tide of CPAN Testers failures :) Thanks, Leon