diff options
author | Andrew Dunstan | 2022-02-03 17:13:11 +0000 |
---|---|---|
committer | Andrew Dunstan | 2022-02-03 17:13:11 +0000 |
commit | c1838b6f7a736aabca3482732490fd3ff3532fd3 (patch) | |
tree | 203815558c04cde3c30fdfb9d8f904febddb246b | |
parent | 94aa7cc5f707712f592885995a28e018c7c80488 (diff) |
Authorize new user in pg_basebackup tests
Commit 8e2b6d45a0 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.
-rw-r--r-- | src/bin/pg_basebackup/t/010_pg_basebackup.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl index 2283a8c42d5..a9b2e090b12 100644 --- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl +++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl @@ -31,7 +31,8 @@ my @pg_basebackup_defs = ('pg_basebackup', '--no-sync', '-cfast'); umask(0077); # Initialize node without replication settings -$node->init(extra => ['--data-checksums']); +$node->init(extra => ['--data-checksums'], + auth_extra => [ '--create-role', 'backupuser' ]); $node->start; my $pgdata = $node->data_dir; |