Subject: | t/61findnot.t has undeclared version dependency |
Two tests in t/61findnot.t failed to run on one of my machines,
producing the output below:
t/61findnot........................................ok 1/20
# Failed test 'Non-unique find generated a cursor inexhaustion warning'
t/61findnot........................................NOK 19/20# at
t/61findnot.t line 57.
# found warning: Test::Warn::warnings_are(): Query returned more than
one row. SQL that returns multiple rows is DEPRECATED for ->find and
->single at t/61findnot.t line 57
# expected to find warning: DBIx::Class::ResultSet::find(): Query
returned more than one row. SQL that returns multiple rows is
DEPRECATED for ->find and ->single
# Failed test 'Non-unique find generated a cursor inexhaustion warning'
# at t/61findnot.t line 63.
# found warning: Test::Warn::warnings_are(): Query returned more than
one row at t/61findnot.t line 63
# expected to find warning: DBIx::Class::ResultSet::find(): Query
returned more than one row
t/61findnot........................................NOK 20/20# Looks like
you failed 2 tests of 20.
t/61findnot........................................dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 19-20
Failed 2/20 tests, 90.00% okay
Upon investigation, it turns out that the test depends on a more recent
version of Test::Warn than is installed on that machine. Version 0.08 is
installed, upgrading to the current 0.11 fixes the problem. I don't know
exactly which version is required.
I've marked the bug as important because I believe all install test
failures are important since they lead potential new users to form a bad
impression of the distribution.
Cheers, Dave