diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-10-08 19:46:39 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-10-08 19:46:50 -0400 |
commit | 97354286619904bbfd2607b14f3f0d01926e95d0 (patch) | |
tree | 6d548d75f11f6e355d6eed14cade5b2af2b5e7ce /src | |
parent | cf54a2c002544a4b7934deb44c895750aadb0a3c (diff) | |
download | postgresql-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.pl | 5 |
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"); |