Subject: | Fails tests under parallel testing |
Looks like a lock occurs due to both tests accessing the same database w/ HARNESS_OPTIONS="j10"
Forcing single-threaded testing avoids this bug.
make --jobs=4 --load-average=1.0 test TEST_VERBOSE=0
DBIx::Class::Storage::DBI::_prepare_sth(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: nodes [for Statement "UPDATE nodes SET parent_id = ? WHERE ( node_id = ? )"] at t/lib/TreeTest.pm line 29
Show quoted text
Failed 17/17 subtests
t/11_adjacencylist_ordered.t .. 17/18
t/11_adjacencylist_ordered.t .. ok
Test Summary Report
-------------------
t/10_adjacencylist.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 17 tests but ran 0.
Files=2, Tests=18, 3 wallclock secs ( 0.06 usr 0.01 sys + 2.93 cusr 0.21 csys = 3.21 CPU)
Result: FAIL
Makefile:755: recipe for target 'test_dynamic' failed
Forcing single-threaded testing avoids this bug.
make --jobs=4 --load-average=1.0 test TEST_VERBOSE=0
DBIx::Class::Storage::DBI::_prepare_sth(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: nodes [for Statement "UPDATE nodes SET parent_id = ? WHERE ( node_id = ? )"] at t/lib/TreeTest.pm line 29
Show quoted text
# Looks like your test exited with 2 before it could output anything.
t/10_adjacencylist.t .......... Dubious, test returned 2 (wstat 512, 0x200)Failed 17/17 subtests
t/11_adjacencylist_ordered.t .. 17/18
t/11_adjacencylist_ordered.t .. ok
Test Summary Report
-------------------
t/10_adjacencylist.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 17 tests but ran 0.
Files=2, Tests=18, 3 wallclock secs ( 0.06 usr 0.01 sys + 2.93 cusr 0.21 csys = 3.21 CPU)
Result: FAIL
Makefile:755: recipe for target 'test_dynamic' failed