Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c11126

Browse files
funny-falconSergey Fukanchik
authored and
Sergey Fukanchik
committed
compatibility tests: skip if PGPROBACKUPBIN_OLD is not set
1 parentbe2b90b commit3c11126

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

‎tests/compatibility_test.py‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ def check_ssh_agent_path_exists():
1414
return'PGPROBACKUP_SSH_AGENT_PATH'inos.environ
1515

1616

17-
classCompatibilityTest(ProbackupTest,unittest.TestCase):
18-
19-
defsetUp(self):
20-
self.fname=self.id().split('.')[3]
21-
22-
# @unittest.expectedFailure
17+
classCrossCompatibilityTest(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):
8681
options=['-d','postgres','-p',str(src_pg.port),'--stream','--remote-path='+pgprobackup_ssh_agent_path]
8782
)
8883

84+
85+
classCompatibilityTest(ProbackupTest,unittest.TestCase):
86+
87+
defsetUp(self):
88+
super().setUp()
89+
ifnotself.probackup_old_path:
90+
self.skipTest('PGPROBACKUPBIN_OLD is not set')
91+
8992
# @unittest.expectedFailure
9093
# @unittest.skip("skip")
9194
deftest_backward_compatibility_page(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp