X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F71mysql.t;h=d732e1f9edfb6cd4ae6f79e2626be6a3dded5821;hb=e0b2dc7456481be6870a23a5927a99c8416c82f7;hp=84bebc727422e18b1e0d656819d9ff7e72890594;hpb=da6a5860c26c14db6145b7d3ba74bafe6a2a3742;p=dbsrgits%2FDBIx-Class.git diff --git a/t/71mysql.t b/t/71mysql.t index 84bebc7..d732e1f 100644 --- a/t/71mysql.t +++ b/t/71mysql.t @@ -384,7 +384,13 @@ ZEROINSEARCH: { # kill our $dbh $schema_autorecon->storage->_dbh(undef); - ok (! defined $orig_dbh, 'Parent $dbh handle is gone'); + + TODO: { + local $TODO = "Perl $] is known to leak like a sieve" + if DBIx::Class::_ENV_::PEEPEENESS(); + + ok (! defined $orig_dbh, 'Parent $dbh handle is gone'); + } } else { # wait for parent to kill its $dbh @@ -400,7 +406,13 @@ ZEROINSEARCH: { # try to do something dbic-esque $rs->create({ name => "Hardcore Forker $$" }); - ok (! defined $orig_dbh, 'DBIC operation triggered reconnect - old $dbh is gone'); + + TODO: { + local $TODO = "Perl $] is known to leak like a sieve" + if DBIx::Class::_ENV_::PEEPEENESS(); + + ok (! defined $orig_dbh, 'DBIC operation triggered reconnect - old $dbh is gone'); + } exit 0; }