Subject: | t/jsmethod.t started to fail (related to MongoDB 2?) |
On my smokers the test suite started to fail:
...
#
# *** DEPRECATION WARNING ***
#
# The 'MongoDB::Code' class will be removed in a future major release.
# Use 'BSON::Code' instead.
# MongoDB::Code::new called at /home/cpansand/.cpan/build/2018092607/MongooseX-JSMethod-0.01-8moPIA/blib/lib/MongooseX/JSMethod.pm line 95
# MongooseX::JSMethod::jsmethod called at t/lib/Test.pm line 10
# (eval) called at t/jsmethod.t line 8
# main::BEGIN called at t/lib/Test.pm line 0
# (eval) called at t/lib/Test.pm line 0
# (eval) called at /opt/perl-5.22.3D/lib/site_perl/5.22.3/Test/More.pm line 1032
# Test::More::_eval called at /opt/perl-5.22.3D/lib/site_perl/5.22.3/Test/More.pm line 1007
# Test::More::use_ok called at t/jsmethod.t line 8
# Failed test at t/jsmethod.t line 15.
# got: '15'
# expected: '170'
# Looks like you failed 1 test of 6.
t/jsmethod.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
...
I guess this is related to the new MongoDB version 2.x.