Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit da79091

Browse files
author
vshepard
committedApr 12, 2024
Fix test_unfinished_merge for REL_2_5
1 parent 91cddad commit da79091

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎tests/merge_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2768,7 +2768,9 @@ def test_unfinished_merge(self):
27682768

27692769
print(self.show_pb(backup_dir, node_name, as_json=False, as_text=True))
27702770

2771-
for expected, real in zip(states, self.show_pb(backup_dir, node_name), strict=True):
2771+
backup_infos = self.show_pb(backup_dir, node_name)
2772+
self.assertEqual(len(backup_infos), len(states))
2773+
for expected, real in zip(states, backup_infos):
27722774
self.assertEqual(expected, real['status'])
27732775

27742776
with self.assertRaisesRegex(ProbackupException,

0 commit comments

Comments
 (0)
Please sign in to comment.