Committed by Greg Sabino Mullane <[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