1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-09-16 09:26:30 +02:00

[PBCKP-324] test_pgpro434_4 fixed

There was a pg15 compatibility error
This commit is contained in:
Daniel Shelepanov
2022-11-01 17:33:31 +03:00
parent ba6b240965
commit b7bb81c05b

View File

@@ -333,7 +333,12 @@ class ArchiveTest(ProbackupTest, unittest.TestCase):
os.environ["PGAPPNAME"] = "pg_probackup"
postgres_gdb = self.gdb_attach(pid)
postgres_gdb.set_breakpoint('do_pg_stop_backup')
if self.get_version(node) < 150000:
postgres_gdb.set_breakpoint('do_pg_stop_backup')
else:
postgres_gdb.set_breakpoint('do_pg_backup_stop')
postgres_gdb.continue_execution_until_running()
gdb.continue_execution_until_exit()