1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-09 18:21:05 +03:00

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.
This commit is contained in:
Tom Lane 2024-10-08 19:46:39 -04:00
parent cf54a2c002
commit 9735428661

View File

@ -12,7 +12,10 @@ use Test::More;
# Initialize the server with specific low connection limits # Initialize the server with specific low connection limits
my $node = PostgreSQL::Test::Cluster->new('primary'); 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', "max_connections = 6");
$node->append_conf('postgresql.conf', "reserved_connections = 2"); $node->append_conf('postgresql.conf', "reserved_connections = 2");
$node->append_conf('postgresql.conf', "superuser_reserved_connections = 1"); $node->append_conf('postgresql.conf', "superuser_reserved_connections = 1");