You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-07-06 05:57:21 +02:00
Move from pg_ctl to .stop/.start from new testgres.
This commit is contained in:
@ -47,12 +47,7 @@ class ValidateTest(ProbackupTest, unittest.TestCase):
|
||||
target_xid = res[0][0]
|
||||
|
||||
node.execute("postgres", "SELECT pg_switch_xlog()")
|
||||
|
||||
node.pg_ctl("stop", {
|
||||
"-D": node.data_dir,
|
||||
"-w": None,
|
||||
"-m": "immediate"
|
||||
})
|
||||
node.stop({"-m": "immediate"})
|
||||
|
||||
wals_dir = path.join(self.backup_dir(node), "wal")
|
||||
wals = [f for f in listdir(wals_dir) if path.isfile(path.join(wals_dir, f))]
|
||||
|
Reference in New Issue
Block a user