PerlDancer/dancer2-session-mongodb — pull request #3 by jameshow (2014-07-13 02:05:11+00:00)
Title: Dancer2 0.141 changes runner server

I was unable to install Dancer2::Session::MongoDB along with Dancer2 v 0.141 because the port wasn't getting set right in the test server. However, once I was able to get the port set, other tests failed.

Here's what I saw originally:

# Version Module
# ---------- -----------------------------------
# 0.142000 Dancer2
# 0.142000 Dancer2::Core::Role::SessionFactory
# 0.142000 Dancer2::Core::Types
# 6.98 ExtUtils::MakeMaker
# 1.20 File::Find
# 3.47 File::Spec::Functions
# 0.22 File::Temp
# 6.02 HTTP::Date
# 2.90 JSON
# 6.04 LWP::UserAgent
# 1.39 List::Util
# v0.704.2.0 MongoDB
# v0.704.2.0 MongoDB::MongoClient
# v0.704.2.0 MongoDB::OID
# 1.005000 Moo
# 1.001003 Test::More
# 2.06 Test::TCP
# 1.07 strict
# 1.13 warnings
t/00-report-prereqs.t .. ok
Can't locate object method "port" via package "HTTP::Server::PSGI" at t/basic.t line 211.
cannot open port: 50305 at /Users/jim/perl5/lib/perl5/Test/TCP.pm line 51.
t/basic.t ..............
Dubious, test returned 61 (wstat 15616, 0x3d00)
No subtests run

Test Summary Report
-------------------
t/basic.t (Wstat: 15616 Tests: 0 Failed: 0)
Non-zero exit status: 61
Parse errors: No plan found in TAP output
Files=3, Tests=2, 19 wallclock secs ( 0.03 usr 0.01 sys + 2.09 cusr 0.22 csys = 2.35 CPU)
Result: FAIL