diff --git a/t/001_bad_progress_bar.pl b/t/001_bad_progress_bar.pl index 073cdb1..c4504fb 100644 --- a/t/001_bad_progress_bar.pl +++ b/t/001_bad_progress_bar.pl @@ -97,7 +97,7 @@ BEGIN skip "DBI and DBD::Pg are not available", 2 if ($dbdpg_rc != 1); DBD::Pg->import(':async'); - $dbh_status = DBI->connect('DBI:Pg:' . $node->connstr($_)); + $dbh_status = DBI->connect('DBI:Pg:' . $node->connstr('postgres')); if ( !defined $dbh_status ) { die "Cannot connect to database for dbh with pg_progress_bar\n";