Skip Menu |

This queue is for tickets about the DBIx-Class-Tree CPAN distribution.

Report information
The Basics
Id: 103132
Status: open
Priority: 0/
Queue: DBIx-Class-Tree

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03003
Fixed in: (no value)



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
# 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
patch/pull request to enable parallel testing welcome