[Dbix-class] fork/thread test results, DBIx::Class v0.06999_03, windows / mysql

Carl Franks fireartist at gmail.com
Tue Jun 27 10:50:34 CEST 2006


I changed t/50fork.t and t/51thread.t to use the MYSQL env values,
rather than PG.
I don't know whether the tests are supposed to pass doing that, but
here's the results:

>prove -b t\50fork.t
t\50fork....ok 1/15can't determine syntax model for DBI::db=HASH(0x1525a70) - us
ing default at c:/vanilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 122e3f4 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x142b860) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 171e174 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x13d92a8) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 16be0d4 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x12b2030) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 1707a74 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x135ced0) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 1525004 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x130eec8) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 16c4b8c (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x1315ea8) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 1709064 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x1313ea8) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 16afc04 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
can't determine syntax model for DBI::db=HASH(0x1319020) - using default at c:/v
anilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 16e8004 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
t\50fork....ok 3/15can't determine syntax model for DBI::db=HASH(0x1323f98) - us
ing default at c:/vanilla-perl/perl/site/lib/SQL/Abstract/Limit.pm line 329.
DBIx::Class::ResultSet::next(): no sth generated via sql (DBD::mysql::db STORE f
ailed: handle 2 is owned by thread 3e47f4 not current thread 16132a4 (handles ca
n't be shared between threads and your driver may need a CLONE method added) at
blib\lib/DBIx/Class/Storage/DBI.pm line 408.
): SELECT me.cdid, me.artist, me.title, me.year FROM cd me WHERE ( year = ? ) at
 t\50fork.t line 63
t\50fork....ok 4/15Can't call method "get_column" on an undefined value at t\50f
ork.t line 80.
# Looks like you planned 15 tests but only ran 4.
# Looks like your test died just after 4.
t\50fork....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-15
        Failed 11/15 tests, 26.67% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t\50fork.t   255 65280    15   22 146.67%  5-15
Failed 1/1 test scripts, 0.00% okay. 11/15 subtests failed, 26.67% okay.

>prove -b t\51threads.t
t\51threads....# It is normal to see a series of "Scalars leaked: ..." messages
during this test
t\51threads....ok 3/15Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
t\51threads....ok
All tests successful.
Files=1, Tests=15,  5 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)



More information about the Dbix-class mailing list