@@ -1660,23 +1660,9 @@ def test_parent_choosing(self):
16601660
16611661# failing, because without archving, it is impossible to
16621662# 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' ])
16801666
16811667# Clean after yourself
16821668self .del_test_dir (module_name ,fname )