postgres.git / summary / log / commit / refs
commit 97354286619904bbfd2607b14f3f0d01926e95d0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue Oct 08 23:46:39 2024 +0000
First released in: 18.0
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");
[parent: cf54a2c00254]