summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-06-10 09:43:35 -0400
committerRobert Haas <rhaas@postgresql.org>2021-06-10 09:48:07 -0400
commit1c2c6a9a299c4b26c46b48a178a431c0ba21cebd (patch)
tree219dda59d4acca5908e1bb098c3cd32a1c000325 /src
parent31bda6a22ad11069b1e5f3a206262ee800303e51 (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 bc479aba4ca..6fca25b7095 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;