Skip to content

Commit c1838b6

Browse files
committed
Authorize new user in pg_basebackup tests
Commit 8e2b6d4 added a new unprivileged user for testing pg_basebackup, but omitted to add them to the cluster's authorized logins, breaking Windows tests run without using Unix sockets.
1 parent 94aa7cc commit c1838b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
umask(0077);
3232

3333
# Initialize node without replication settings
34-
$node->init(extra => ['--data-checksums']);
34+
$node->init(extra => ['--data-checksums'],
35+
auth_extra => [ '--create-role', 'backupuser' ]);
3536
$node->start;
3637
my $pgdata = $node->data_dir;
3738

0 commit comments

Comments
 (0)