From 978e8476a9da4959ca795a29d3e96a1eb7c292f0 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Wed, 19 Nov 2014 21:27:01 +0000 Subject: [PATCH] run test suite even if connection is not possible This should be a better fix for https://rt.cpan.org/Ticket/Display.html?id=31823 --- t/10connect.t | 4 ---- 1 file changed, 4 deletions(-) diff --git a/t/10connect.t b/t/10connect.t index 9c08e05..a2f0a0c 100644 --- a/t/10connect.t +++ b/t/10connect.t @@ -16,10 +16,6 @@ my $dbh; eval {$dbh= DBI->connect($test_dsn, $test_user, $test_password, { RaiseError => 1, PrintError => 1, AutoCommit => 0 });}; if ($@) { - # https://rt.cpan.org/Ticket/Display.html?id=31823 - if ($DBI::err == 1045) { - Test::More::BAIL_OUT("ERROR: $DBI::errstr\nAborting remaining tests!"); - } plan skip_all => "ERROR: $DBI::errstr $DBI::err Can't continue test"; } plan tests => 2; -- 1.7.10.4