From 97354286619904bbfd2607b14f3f0d01926e95d0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 8 Oct 2024 19:46:39 -0400 Subject: [PATCH] Allow roles created by new test to log in under SSPI. Semi-blind attempt to fix 6a1d0d470 to work on Windows, along the same lines as a70f2a57f. Per buildfarm. --- src/test/postmaster/t/001_connection_limits.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/postmaster/t/001_connection_limits.pl b/src/test/postmaster/t/001_connection_limits.pl index 3e681f9dc53..102c23e2c1a 100644 --- a/src/test/postmaster/t/001_connection_limits.pl +++ b/src/test/postmaster/t/001_connection_limits.pl @@ -12,7 +12,10 @@ use Test::More; # Initialize the server with specific low connection limits my $node = PostgreSQL::Test::Cluster->new('primary'); -$node->init; +$node->init( + 'auth_extra' => [ + '--create-role', 'regress_regular,regress_reserved,regress_superuser' + ]); $node->append_conf('postgresql.conf', "max_connections = 6"); $node->append_conf('postgresql.conf', "reserved_connections = 2"); $node->append_conf('postgresql.conf', "superuser_reserved_connections = 1");