Subject: | Random test results |
On http://cpantesters.perl.org/show/DBIx-SearchBuilder.html I notice
that I have reported all of PASS, FAIL and NA. Looking at the history of
my smokes I see randomly distributed results. Much more green than red
but still too much red.
Here is recent test output of a failing test. Looks like a reused
filename from an older test or some such.
t/02records_cachable....Name "DBD::SQLite::sqlite_version" used only
once: possible typo at
/home/src/perl/repoperls/installed-perls/perl/piGCGlx/perl-5.8.0@31365/lib/5.9.5/i686-linux-64int/DynaLoader.pm
line 226.
DBD::SQLite::db prepare failed: table Address already exists(1) at
dbdimp.c line 271 at
/home/sand/.cpan/build/DBIx-SearchBuilder-1.48-pQPM50/blib/lib/DBIx/SearchBuilder/Handle.pm
line 465.
DBIx::SearchBuilder::Handle::SQLite=HASH(0x86135bc) couldn't prepare the
query 'CREATE TABLE Address (
id integer primary key,
Name varchar(36),
Phone varchar(18),
EmployeeId int(8))
'table Address already exists(1) at dbdimp.c line 271
# Failed test 'Inserted the schema. got a statement handle back isa
DBI::st'
# at t/02records_cachable.t line 30.
# Inserted the schema. got a statement handle back isn't a 'DBI::st'
it's a 'Class::ReturnValue'
# Failed test 'The record has its id'
# at t/02records_cachable.t line 51.
# got: '1'
# expected: '2'
# Failed test 'we fetched record from cache'
# at t/02records_cachable.t line 58.
# got: 'Found Object'
# expected: 'Fetched from cache'
# Looks like you failed 3 tests of 32.
dubious
^ITest returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 18, 28, 32
^IFailed 3/32 tests, 90.62% okay (less 16 skipped tests: 13 okay, 40.62%)
Hope this helps,