File tree 1 file changed +3
-17
lines changed
Filter options
1 file changed +3
-17
lines changed
Original file line number Diff line number Diff line change @@ -1660,23 +1660,9 @@ def test_parent_choosing(self):
1660
1660
1661
1661
# failing, because without archving, it is impossible to
1662
1662
# take multi-timeline backup.
1663
- try :
1664
- self .backup_node (
1665
- backup_dir , 'replica' , replica ,
1666
- backup_type = 'delta' , options = ['--stream' ])
1667
- # we should die here because exception is what we expect to happen
1668
- self .assertEqual (
1669
- 1 , 0 ,
1670
- "Expecting Error because of timeline switch "
1671
- "\n Output: {0} \n CMD: {1}" .format (
1672
- repr (self .output ), self .cmd ))
1673
- except ProbackupException as e :
1674
- self .assertTrue (
1675
- 'WARNING: Cannot find valid backup on previous timelines, '
1676
- 'WAL archive is not available' in e .message and
1677
- 'ERROR: Create new full backup before an incremental one' in e .message ,
1678
- "\n Unexpected Error Message: {0}\n CMD: {1}" .format (
1679
- repr (e .message ), self .cmd ))
1663
+ self .backup_node (
1664
+ backup_dir , 'replica' , replica ,
1665
+ backup_type = 'delta' , options = ['--stream' ])
1680
1666
1681
1667
# Clean after yourself
1682
1668
self .del_test_dir (module_name , fname )
You can’t perform that action at this time.
0 commit comments