summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-06-10 09:34:39 -0400
committerRobert Haas <rhaas@postgresql.org>2021-06-10 09:34:39 -0400
commit2208d71a0099bf51c70e1636e10a3e7dffe6581f (patch)
tree45bf8d50b33f532fcaeaadba5639d471c0ea06a2 /src
parent5d950c721d38ff81913ecae6f75d5ccea904bd8e (diff)
Adjust new test case to set wal_keep_segments.
Per buildfarm member conchuela and Kyotaro Horiguchi, it's possible for the WAL segment that the cascading standby needs to be removed too quickly. Hopefully this will prevent that. Kyotaro Horiguchi Discussion: http://postgr.es/m/20210610.101240.1270925505780628275.horikyota.ntt@gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/test/recovery/t/025_stuck_on_old_timeline.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/recovery/t/025_stuck_on_old_timeline.pl b/src/test/recovery/t/025_stuck_on_old_timeline.pl
index 0d96bb3c15b..8099571299c 100644
--- a/src/test/recovery/t/025_stuck_on_old_timeline.pl
+++ b/src/test/recovery/t/025_stuck_on_old_timeline.pl
@@ -27,6 +27,7 @@ $perlbin =~ s{\\}{\\\\}g if ($TestLib::windows_os);
my $archivedir_primary = $node_primary->archive_dir;
$node_primary->append_conf('postgresql.conf', qq(
archive_command = '$perlbin "$FindBin::RealBin/cp_history_files" "%p" "$archivedir_primary/%f"'
+wal_keep_segments=8
));
$node_primary->start;