Skip to content

Commit e6bcc07

Browse files
committed
[PBCKP-259] disable tests.merge.MergeTest.test_merge_backup_from_future and tests.restore.RestoreTest.test_restore_backup_from_future as incorrect for now
1 parent 7677632 commit e6bcc07

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

tests/merge.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,11 @@ def test_failed_merge_after_delete_3(self):
19651965

19661966
self.del_test_dir(module_name, fname)
19671967

1968-
# @unittest.skip("skip")
1968+
# Skipped, because backups from the future are invalid.
1969+
# This cause a "ERROR: Can't assign backup_id, there is already a backup in future"
1970+
# now (PBCKP-259). We can conduct such a test again when we
1971+
# untie 'backup_id' from 'start_time'
1972+
@unittest.skip("skip")
19691973
def test_merge_backup_from_future(self):
19701974
"""
19711975
take FULL backup, table PAGE backup from future,

tests/restore.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,11 @@ def test_restore_chain_with_corrupted_backup(self):
18531853
# Clean after yourself
18541854
self.del_test_dir(module_name, fname)
18551855

1856-
# @unittest.skip("skip")
1856+
# Skipped, because backups from the future are invalid.
1857+
# This cause a "ERROR: Can't assign backup_id, there is already a backup in future"
1858+
# now (PBCKP-259). We can conduct such a test again when we
1859+
# untie 'backup_id' from 'start_time'
1860+
@unittest.skip("skip")
18571861
def test_restore_backup_from_future(self):
18581862
"""more complex test_restore_chain()"""
18591863
fname = self.id().split('.')[3]

0 commit comments

Comments
 (0)