Subject: | Test suite fails (with MongoDB 2?) |
The tet suite started to fail on my smoker systems:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.29.3t/bin/perl5.29.3" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
MongoDB::SelectionError: No writable server available. MongoDB server status:
Topology type: Single; Member status:
localhost:27017 (type: Unknown, error: MongoDB::NetworkError: Could not connect to 'localhost:27017': Connection refused )
t/001_mongo.t ........
Dubious, test returned 111 (wstat 28416, 0x6f00)
No subtests run
t/002_socket_pair.t .. ok
t/003_job_cifrar.t ... ok
t/Eixo-Queue.t ....... ok
MongoDB::SelectionError: No writable server available. MongoDB server status:
Topology type: Single; Member status:
localhost:27017 (type: Unknown, error: MongoDB::NetworkError: Could not connect to 'localhost:27017': Connection refused )
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 111 just after 4.
t/job_0.t ............
Dubious, test returned 111 (wstat 28416, 0x6f00)
All 4 subtests passed
...
It seems that this happens with newer MongoDB versions. Statistical analysis (theta=-1 means "bad"):
****************************************************************
Regression 'mod:MongoDB'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 18980441193833692.00
[1='eq_v1.8.0'] -0.0000 0.0000 -7.37
[2='eq_v1.8.1'] -0.0000 0.0000 -8.19
[3='eq_v1.8.2'] -0.0000 0.0000 -6.66
[4='eq_v1.8.3'] 0.0000 0.0000 1.33
[5='eq_v2.0.0'] -1.0000 0.0000 -14347864906619954.00
[6='eq_v2.0.1'] -1.0000 0.0000 -17326692988771666.00
R^2= 1.000, N= 100, K= 7
****************************************************************