Commit 8ee9b662 authored by Fujii Masao's avatar Fujii Masao

Fix test added by commit 9de9294b.

The buildfarm members "drongo" and "fairywren" reported that
the regression test (024_archive_recovery.pl) added by commit 9de9294b
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
parent a1115fa0
...@@ -9,7 +9,7 @@ use Time::HiRes qw(usleep); ...@@ -9,7 +9,7 @@ use Time::HiRes qw(usleep);
# Initialize and start node with wal_level = replica and WAL archiving # Initialize and start node with wal_level = replica and WAL archiving
# enabled. # enabled.
my $node = get_new_node('orig'); my $node = get_new_node('orig');
$node->init(has_archiving => 1); $node->init(has_archiving => 1, allows_streaming => 1);
my $replica_config = q[ my $replica_config = q[
wal_level = replica wal_level = replica
archive_mode = on archive_mode = on
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment