aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-10-08 19:46:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-10-08 19:46:50 -0400
commit97354286619904bbfd2607b14f3f0d01926e95d0 (patch)
tree6d548d75f11f6e355d6eed14cade5b2af2b5e7ce /src
parentcf54a2c002544a4b7934deb44c895750aadb0a3c (diff)
downloadpostgresql-97354286619904bbfd2607b14f3f0d01926e95d0.tar.gz
postgresql-97354286619904bbfd2607b14f3f0d01926e95d0.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/test/postmaster/t/001_connection_limits.pl5
1 files changed, 4 insertions, 1 deletions
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");