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

Fix test_unfinished_merge for REL_2_5

This commit is contained in:
vshepard
2024-04-12 07:23:45 +02:00
parent 91cddad61d
commit da79091ace
+3 -1
View File
@@ -2768,7 +2768,9 @@ class MergeTest(ProbackupTest, unittest.TestCase):
print(self.show_pb(backup_dir, node_name, as_json=False, as_text=True))
for expected, real in zip(states, self.show_pb(backup_dir, node_name), strict=True):
backup_infos = self.show_pb(backup_dir, node_name)
self.assertEqual(len(backup_infos), len(states))
for expected, real in zip(states, backup_infos):
self.assertEqual(expected, real['status'])
with self.assertRaisesRegex(ProbackupException,