1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00

[PBCKP-431] refix test_minrecpoint_on_replica

in fact there were too many wal_keep_segments set by default in
make_simple_node
This commit is contained in:
Yura Sokolov
2022-12-29 05:37:39 +03:00
parent 361b9a7b51
commit 649d1adc27
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -557,7 +557,7 @@ class ProbackupTest(object):
if node.major_version >= 13:
options['wal_keep_size'] = '200MB'
else:
options['wal_keep_segments'] = '100'
options['wal_keep_segments'] = '12'
# set default values
self.set_auto_conf(node, options)
+1 -1
View File
@@ -86,7 +86,7 @@ class BugTest(ProbackupTest, unittest.TestCase):
gdb_checkpointer = self.gdb_attach(checkpointer_pid)
gdb_checkpointer._execute('handle SIGINT noprint nostop pass')
gdb_checkpointer._execute('handle SIGUSR1 noprint nostop pass')
gdb_checkpointer.set_breakpoint('RemoveOldXlogFiles')
gdb_checkpointer.set_breakpoint('UpdateLastRemovedPtr')
gdb_checkpointer.continue_execution_until_break()
# break recovery on UpdateControlFile