[DBD::Pg] Remove no longer relevant ping part of test
dbdpg-commits-gENoVmVU/[email protected] Fri, 2 Jan 2015 04:34:21 +0000
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Remove no longer relevant ping part of test --- t/02attribs.t | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/t/02attribs.t b/t/02attribs.t index 76bd6d4..4a4925b 100644 --- a/t/02attribs.t +++ b/t/02attribs.t @@ -18,7 +18,7 @@ my ($helpconnect,$connerror,$dbh) = connect_database(); if (! $dbh) { plan skip_all => 'Connection to database failed, cannot continue testing'; } -plan tests => 260; +plan tests => 258; isnt ($dbh, undef, 'Connect to database for handle attributes testing'); @@ -1583,10 +1583,6 @@ SKIP: { $t=qq{Ping fails after the child has exited ("AutoInactiveDestroy" = $destroy)}; is ( $dbh->ping(), 0, $t); - $t='Failed ping returns a SQLSTATE code of 08000'; - my $state = $dbh->state(); - is ($state, '08000', $t); - $t=qq{pg_ping gives an error code of -2 after the child has exited ("AutoInactiveDestroy" = $destroy)}; is ( $dbh->pg_ping(), -2, $t); ok ($dbh->disconnect(), 'Disconnect from database'); -- 1.8.4