Skip to content

Commit 9735428

Browse files
committed
Allow roles created by new test to log in under SSPI.
Semi-blind attempt to fix 6a1d0d4 to work on Windows, along the same lines as a70f2a5. Per buildfarm.
1 parent cf54a2c commit 9735428

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/postmaster/t/001_connection_limits.pl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
# Initialize the server with specific low connection limits
1414
my $node = PostgreSQL::Test::Cluster->new('primary');
15-
$node->init;
15+
$node->init(
16+
'auth_extra' => [
17+
'--create-role', 'regress_regular,regress_reserved,regress_superuser'
18+
]);
1619
$node->append_conf('postgresql.conf', "max_connections = 6");
1720
$node->append_conf('postgresql.conf', "reserved_connections = 2");
1821
$node->append_conf('postgresql.conf', "superuser_reserved_connections = 1");

0 commit comments

Comments
 (0)