@@ -14,12 +14,7 @@ def check_ssh_agent_path_exists():
1414return 'PGPROBACKUP_SSH_AGENT_PATH' in os .environ
1515
1616
17- class CompatibilityTest (ProbackupTest ,unittest .TestCase ):
18-
19- def setUp (self ):
20- self .fname = self .id ().split ('.' )[3 ]
21-
22- # @unittest.expectedFailure
17+ class CrossCompatibilityTest (ProbackupTest ,unittest .TestCase ):
2318@unittest .skipUnless (check_manual_tests_enabled (),'skip manual test' )
2419@unittest .skipUnless (check_ssh_agent_path_exists (),'skip no ssh agent path exist' )
2520# @unittest.skip("skip")
@@ -86,6 +81,14 @@ def test_catchup_with_different_remote_major_pg(self):
8681options = ['-d' ,'postgres' ,'-p' ,str (src_pg .port ),'--stream' ,'--remote-path=' + pgprobackup_ssh_agent_path ]
8782 )
8883
84+
85+ class CompatibilityTest (ProbackupTest ,unittest .TestCase ):
86+
87+ def setUp (self ):
88+ super ().setUp ()
89+ if not self .probackup_old_path :
90+ self .skipTest ('PGPROBACKUPBIN_OLD is not set' )
91+
8992# @unittest.expectedFailure
9093# @unittest.skip("skip")
9194def test_backward_compatibility_page (self ):