Skip to content

Commit 9b3dc02

Browse files
author
Ivan Lazarev
committed
[PBCKP-236] added PGPROBACKUP_MANUAL testing and PGPROBACKUP_SSH_AGENT_PATH flags.
1 parent d808a16 commit 9b3dc02

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/compatibility.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ def setUp(self):
1414
self.fname = self.id().split('.')[3]
1515

1616
# @unittest.expectedFailure
17-
@unittest.skip("skip")
17+
@unittest.skipUnless('PGPROBACKUP_MANUAL' in os.environ and os.environ['PGPROBACKUP_MANUAL'] == 'ON', 'skip')
18+
@unittest.skipUnless('PGPROBACKUP_SSH_AGENT_PATH' in os.environ, 'skip')
19+
# @unittest.skip("skip")
1820
def test_catchup_with_different_remote_major_pg(self):
1921
"""
2022
Decription in jira issue PBCKP-236
@@ -33,7 +35,8 @@ def test_catchup_with_different_remote_major_pg(self):
3335
self.verbose = True
3436
self.remote = True
3537
# please use your own local path
36-
pg_path_remote_version = '/home/avaness/postgres/postgres.build.clean/bin'
38+
# pg_path_remote_version = '/home/avaness/postgres/postgres.build.clean/bin/'
39+
pg_path_remote_version = os.environ['PGPROBACKUP_SSH_AGENT_PATH']
3740

3841
src_pg = self.make_simple_node(
3942
base_dir=os.path.join(module_name, self.fname, 'src'),

0 commit comments

Comments
 (0)