File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1432,11 +1432,14 @@ def test_validate_corrupted_full(self):
1432
1432
def test_validate_corrupted_full_1 (self ):
1433
1433
"""
1434
1434
make node with archiving, take full backup, and three page backups,
1435
- take another full backup and three page backups
1435
+ take another full backup and four page backups
1436
1436
corrupt second full backup, run validate, check that
1437
1437
second full backup became CORRUPT and his page backups are ORPHANs
1438
- remove corruption and run valudate again, check that
1439
- second full backup and his page backups are OK
1438
+ remove corruption from full backup and corrupt his second page backup
1439
+ run valudate again, check that
1440
+ second full backup and his firts page backups are OK,
1441
+ second page should be CORRUPT
1442
+ third page should be ORPHAN
1440
1443
"""
1441
1444
fname = self .id ().split ('.' )[3 ]
1442
1445
node = self .make_simple_node (
@@ -1524,5 +1527,4 @@ def test_validate_corrupted_full_1(self):
1524
1527
self .assertTrue (self .show_pb (backup_dir , 'node' )[6 ]['Status' ] == 'ORPHAN' )
1525
1528
1526
1529
# Clean after yourself
1527
- exit (1 )
1528
1530
self .del_test_dir (module_name , fname )
You can’t perform that action at this time.
0 commit comments