[Dbix-class] test failure in /81transactions.t

Peter Rabbitson rabbit+list at rabbit.us
Tue Jan 20 09:11:31 GMT 2009


Brad Bowman wrote:
> Hello,
> 
> I'm trying to upgrade to perl 5.10 on windows xp in order to fix up
> the DBIC speed issues with the perl 5.8.8 that was installed there.
> DBIx::Class failed a test during the install.
> 
> cpan> install DBIx::Class
> 
> t/81transactions...........................1/67 Issuing rollback() for
> database
> handle being DESTROY'd without explicit disconnect() at
> t/81transactions.t line
> 232.
> DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db do
> failed:
>  table employee already exists(1) at dbdimp.c line 271 [for Statement "
> -- 
> -- Table: employee
> -- 
> CREATE TABLE employee (
>   employee_id INTEGER PRIMARY KEY NOT NULL,
>   position integer NOT NULL,
>   group_id integer,
>   group_id_2 integer,
>   name varchar(100)
> )"] at t/lib/DBICTest.pm line 109
> # Looks like you planned 67 tests but ran 54.
> # Looks like your test exited with 255 just after 54.
> t/81transactions........................... Dubious, test returned 255
> (wstat 65
> 280, 0xff00)
>  Failed 13/67 subtests
> 
> [...]
> 
> Test Summary Report
> -------------------
> t/81transactions                       (Wstat: 65280 Tests: 54 Failed: 0)
>   Non-zero exit status: 255
>   Parse errors: Bad plan.  You planned 67 tests but ran 54.
> Files=106, Tests=1848, 215 wallclock secs ( 0.59 usr +  2.67 sys =  3.27
> CPU)
> Result: FAIL
> Failed 1/106 test programs. 0/1848 subtests failed.
> dmake.EXE:  Error code 255, while making 'test_dynamic'
>   ASH/DBIx-Class-0.08010.tar.gz
>   C:\strawberry\c\bin\dmake.EXE test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports ASH/DBIx-Class-0.08010.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
>  ASH/DBIx-Class-0.08010.tar.gz                : make_test NO
> 
> 
> C:\strawberry>perl -v
> 
> This is perl, v5.10.0 built for MSWin32-x86-multi-thread
> 
> I'll look at it in more depth tomorrow but wanted to send this off
> before leaving the office.  Let me know if there's anything useful
> to report on or try,
> 
> Brad
> 

Hi Brad,

This is a badly written test, nothing to do with the tested
functionality. It is safe to force-install over this. It should be fixed
in the latest dev version 0.08099_05. I'd appreciate if you try to
install it to make sure it was really fixed (the release is feature
complete, we just broke some high end stuff, thus not releasing it proper).





More information about the DBIx-Class mailing list