Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ee9b66

Browse files
committed
Fix test added by commit 9de9294.
The buildfarm members "drongo" and "fairywren" reported that the regression test (024_archive_recovery.pl) added by commit 9de9294 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/[email protected]
1 parent a1115fa commit 8ee9b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/recovery/t/024_archive_recovery.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Initialize and start node with wal_level = replica and WAL archiving
1010
# enabled.
1111
my $node = get_new_node('orig');
12-
$node->init(has_archiving => 1);
12+
$node->init(has_archiving => 1, allows_streaming => 1);
1313
my $replica_config = q[
1414
wal_level = replica
1515
archive_mode = on

0 commit comments

Comments
 (0)