aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2021-04-07 07:42:36 +0900
committerFujii Masao <fujii@postgresql.org>2021-04-07 07:42:36 +0900
commit8ee9b662daa6d51b54d21ec274f22a218462ad2d (patch)
tree1d1ae224dcbb161c93ad3fe479e8c6ee85a1c434 /src
parenta1115fa0782378a8238045d238ae70cac36be8ae (diff)
downloadpostgresql-8ee9b662daa6d51b54d21ec274f22a218462ad2d.tar.gz
postgresql-8ee9b662daa6d51b54d21ec274f22a218462ad2d.zip
Fix test added by commit 9de9294b0c.
The buildfarm members "drongo" and "fairywren" reported that the regression test (024_archive_recovery.pl) added by commit 9de9294b0c failed. The cause of this failure is that the test calls $node->init() without "allows_streaming => 1" and which doesn't add pg_hba.conf entry for TCP/IP connection from pg_basebackup. This commit fixes the issue by specifying "allows_streaming => 1" when calling $node->init(). Author: Fujii Masao Discussion: https://postgr.es/m/3cc3909d-f779-7a74-c201-f1f7f62c7497@oss.nttdata.com
Diffstat (limited to 'src')
-rw-r--r--src/test/recovery/t/024_archive_recovery.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/recovery/t/024_archive_recovery.pl b/src/test/recovery/t/024_archive_recovery.pl
index c139db2ede6..2d8d59454ee 100644
--- a/src/test/recovery/t/024_archive_recovery.pl
+++ b/src/test/recovery/t/024_archive_recovery.pl
@@ -9,7 +9,7 @@ use Time::HiRes qw(usleep);
# Initialize and start node with wal_level = replica and WAL archiving
# enabled.
my $node = get_new_node('orig');
-$node->init(has_archiving => 1);
+$node->init(has_archiving => 1, allows_streaming => 1);
my $replica_config = q[
wal_level = replica
archive_mode = on