[Dbix-class] Detecting changes after ->update(\%) ?
john_oshea at wordbank.com
john_oshea at wordbank.com
Wed Aug 8 11:42:41 GMT 2007
Matt S Trout wrote:
> Are you sure it's exactly the same error or merely similar?
Just double-checked - no it's not - same test, but different error -
apologies for being a fathead. What I'm *actually* getting is:
> #> prove -v t/33storage_reconnect.t
> t/33storage_reconnect....1..5
> ok 1 - Three artists returned
> DBI::db=HASH(0x1ac2b08)->disconnect invalidates 22 active statement handles (either destroy statement handles or call finish on them before disconnecting) at t/33storage_reconnect.t line 23.
> closing dbh with active statement handles at t/33storage_reconnect.t line 23.
> ok 2 - Three artists returned
> ok 3 - The operation failed
> not ok 4 - The operation succedded
>
> # Failed test 'The operation succedded'
> # at t/33storage_reconnect.t line 57.
> not ok 5 - Three artists returned
>
> # Failed test 'Three artists returned'
> # at t/33storage_reconnect.t line 58.
> # got: 0
> # expected: 3
> # Looks like you failed 2 tests of 5.
> dubious
> Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 4-5
> Failed 2/5 tests, 60.00% okay
Though whatever got changed in the 0.08005 version you've just uploaded
has fixed it:
> t/32connect_code_ref.......................ok
> t/33storage_reconnect......................ok 1/5DBI::db=HASH(0x1ac5b58)->disconnect invalidates 22 active statement handles (either destroy statement handles or call finish on them before disconnecting) at t/33storage_reconnect.t line 23.
> closing dbh with active statement handles at t/33storage_reconnect.t line 23.
> t/33storage_reconnect......................ok
> 2/5 skipped: various reasons
> t/34exception_action.......................ok
All tests pass on that one - holler if you need more poking around done.
--
John O'Shea
Wordbank Limited
33 Charlotte Street, London W1T 1RR
Direct line: +44 (0) 20 7903 8829
Fax: +44 (0) 20 7903 8888
<http://www.wordbank.com/>
More information about the DBIx-Class
mailing list