diff --git a/tests/archive.py b/tests/archive.py index 81d013f6b..481e04e43 100644 --- a/tests/archive.py +++ b/tests/archive.py @@ -333,7 +333,12 @@ def test_pgpro434_4(self): 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()