Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/WebService/Strava/Auth.t hangs or fails #18

Closed
techman83 opened this issue Feb 26, 2015 · 1 comment
Closed

t/WebService/Strava/Auth.t hangs or fails #18

techman83 opened this issue Feb 26, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@techman83
Copy link
Owner

https://rt.cpan.org/Ticket/Display.html?id=102362

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.
>> 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.
@techman83 techman83 added the bug label Feb 26, 2015
@techman83 techman83 added this to the v0.05 milestone Feb 26, 2015
@techman83 techman83 self-assigned this Feb 26, 2015
@techman83
Copy link
Owner Author

The give away is port 3000. I'm suspecting there is a slight difference in behavior between Dancer2 v0.11 vs v0.15

There are some changes between Dancer + Dancer2, in that you have to be explicit when combining multiple packages. By default they will be treated separately.

http://advent.perldancer.org/2014/10

techman83 pushed a commit that referenced this issue Feb 26, 2015
techman83 pushed a commit that referenced this issue Feb 26, 2015
@techman83 techman83 mentioned this issue Feb 26, 2015
techman83 pushed a commit that referenced this issue Feb 26, 2015
        Small Pod Fixes
        Fix Auth.t testing failures. RT #102362 + Github #18
techman83 pushed a commit that referenced this issue Feb 26, 2015
        Small Pod Fixes
        Fix Auth.t testing failures. RT #102362 + Github #18

Conflicts:
	Changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant