From 73aa5e0cafd0d577fe464ed1d9ac317103f27ea4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 23 Sep 2021 22:49:20 +0200 Subject: Add missing $Test::Builder::Level settings One of these was accidentally removed by c50624c. The others are added by analogy. Discussion: https://www.postgresql.org/message-id/ae1143fb-455c-c80f-ed66-78d45bd93303@enterprisedb.com --- src/test/authentication/t/001_password.pl | 2 ++ src/test/authentication/t/002_saslprep.pl | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/test/authentication') diff --git a/src/test/authentication/t/001_password.pl b/src/test/authentication/t/001_password.pl index 9498c18d7d1..16570a4e2cb 100644 --- a/src/test/authentication/t/001_password.pl +++ b/src/test/authentication/t/001_password.pl @@ -42,6 +42,8 @@ sub reset_pg_hba # named parameters are passed to connect_ok/fails as-is. sub test_role { + local $Test::Builder::Level = $Test::Builder::Level + 1; + my ($node, $role, $method, $expected_res, %params) = @_; my $status_string = 'failed'; $status_string = 'success' if ($expected_res eq 0); diff --git a/src/test/authentication/t/002_saslprep.pl b/src/test/authentication/t/002_saslprep.pl index 4799e927dbb..acd379df316 100644 --- a/src/test/authentication/t/002_saslprep.pl +++ b/src/test/authentication/t/002_saslprep.pl @@ -36,6 +36,8 @@ sub reset_pg_hba # Test access for a single role, useful to wrap all tests into one. sub test_login { + local $Test::Builder::Level = $Test::Builder::Level + 1; + my $node = shift; my $role = shift; my $password = shift; -- cgit v1.2.3