Skip Menu |

This queue is for tickets about the DBD-Mock CPAN distribution.

Report information
The Basics
Id: 133358
Status: resolved
Priority: 0/
Queue: DBD-Mock

People
Owner: JLCOOPER [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.56
Fixed in: 1.57



Subject: t/016_mock_add_resultset_test.t fails (with older DBI?)
On some of my smokers the test suite fails: ... DBI last_insert_id: invalid number of arguments: got handle + 0, expected handle + between 4 and 5 Usage: $h->last_insert_id($catalog, $schema, $table_name, $field_name [, \%attr ]) at t/016_mock_add_resultset_test.t line 341. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 55. t/016_mock_add_resultset_test.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) All 55 subtests passed ... Statistical analysis suggests that this happens with older DBI: 1.642 is OK, 1.637 is not. **************************************************************** Regression 'mod:DBI' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 1.87 [1='eq_1.633'] -0.0000 0.0000 -0.66 [2='eq_1.634'] 0.0000 0.0000 0.66 [3='eq_1.636'] 0.0000 0.0000 4.26 [4='eq_1.637'] -0.0000 0.0000 -1.32 [5='eq_1.642'] 1.0000 0.0000 7681016956851365.00 [6='eq_1.643'] 1.0000 0.0000 8337289501385482.00 R^2= 1.000, N= 68, K= 7 ****************************************************************
Hi, Thanks for the heads up. I've fixed the issue and released version 1.57. Regards, Jason. On Fri Sep 18 01:34:51 2020, SREZIC wrote: Show quoted text
> On some of my smokers the test suite fails: > > ... > DBI last_insert_id: invalid number of arguments: got handle + 0, > expected handle + between 4 and 5 > Usage: $h->last_insert_id($catalog, $schema, $table_name, $field_name > [, \%attr ]) at t/016_mock_add_resultset_test.t line 341. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 55. > t/016_mock_add_resultset_test.t ........ > Dubious, test returned 255 (wstat 65280, 0xff00) > All 55 subtests passed > ... > > Statistical analysis suggests that this happens with older DBI: 1.642 > is OK, 1.637 is not. > > **************************************************************** > Regression 'mod:DBI' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.0000 0.0000 1.87 > [1='eq_1.633'] -0.0000 0.0000 -0.66 > [2='eq_1.634'] 0.0000 0.0000 0.66 > [3='eq_1.636'] 0.0000 0.0000 4.26 > [4='eq_1.637'] -0.0000 0.0000 -1.32 > [5='eq_1.642'] 1.0000 0.0000 7681016956851365.00 > [6='eq_1.643'] 1.0000 0.0000 8337289501385482.00 > > R^2= 1.000, N= 68, K= 7 > ****************************************************************