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):
14321432 def test_validate_corrupted_full_1 (self ):
14331433 """
14341434 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
14361436 corrupt second full backup, run validate, check that
14371437 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
14401443 """
14411444 fname = self .id ().split ('.' )[3 ]
14421445 node = self .make_simple_node (
@@ -1524,5 +1527,4 @@ def test_validate_corrupted_full_1(self):
15241527 self .assertTrue (self .show_pb (backup_dir , 'node' )[6 ]['Status' ] == 'ORPHAN' )
15251528
15261529 # Clean after yourself
1527- exit (1 )
15281530 self .del_test_dir (module_name , fname )
You can’t perform that action at this time.
0 commit comments