Subject: | Test suite fails (if Test::DBIx::Class is too old?) |
On some of my smoker systems the tests fail:
...
# Failed test 'post with id 1'
# at t/001-load.t line 14.
# Looks like you failed 1 test of 1.
# Failed test 'schema is populated'
# at t/001-load.t line 25.
Can't call method "author" on an undefined value at t/001-load.t line 15.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 3.
t/001-load.t ................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/3 subtests
No row provided or not a DBIx::Class:Row instance at /home/cpansand/.cpan/build/2018021703/JSONAPI-Document-0.1-7/blib/lib/JSONAPI/Document.pm line 44.
JSONAPI::Document::resource_document(Test::JSONAPI=HASH(0x49d90618), undef, HASH(0x49d63198)) called at t/002-documents.t line 16
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 4.
t/002-documents.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
All 4 subtests passed
...
This seems to happen if Test::DBIx::Class is too old. Statistical analysis (theta=0 means: no passes):
****************************************************************
Regression 'mod:Test::DBIx::Class'
****************************************************************
Name Theta StdErr T-stat
[0='const'] -0.0000 0.0000 -8.22
[1='eq_0.49'] 0.0000 0.0000 4.11
[2='eq_0.51'] 1.0000 0.0000 46802780229323776.00
[3='eq_0.52'] 1.0000 0.0000 72159038195716720.00
R^2= 1.000, N= 64, K= 4
****************************************************************