summaryrefslogtreecommitdiff
path: root/src
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:47:25 -0400
commit3465328aa19e363f3248839bea4521793940ad34 (patch)
tree41c4ebffdabd09ac29be9188a20018a3fdbaa61d /src
parent0826564292156762d32c183c6708c94564fcad1c (diff)
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')
-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..25c2dff4373 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;