summaryrefslogtreecommitdiff
path: root/src/test/recovery
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-06-10 09:08:30 -0400
committerRobert Haas <rhaas@postgresql.org>2021-06-10 09:46:08 -0400
commit4dcb1d087aebc6fc2477ce4458ea82f548e2c1ee (patch)
treea0985ec21632f44248bbae5eecb49b077acd3d9f /src/test/recovery
parent55ba5973d9144a552661cf1fa4cbd228a3799212 (diff)
downloadpostgresql-4dcb1d087aebc6fc2477ce4458ea82f548e2c1ee.tar.gz
Adjust new test case to set wal_keep_size.
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/test/recovery')
-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 0d96bb3c15..25c2dff437 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_size=128MB
));
$node_primary->start;