8000 hotfix: cfs_restore.py decorated to postgres enterprise only · postgrespro/pg_probackup@eed2813 · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit eed2813

Browse files
author
Ivan Lazarev
committed
hotfix: cfs_restore.py decorated to postgres enterprise only
1 parent 97f3e70 commit eed2813

File tree

1 file changed

+8
-0
lines changed

tests/cfs_restore.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121

2222
class CfsRestoreBase(ProbackupTest, unittest.TestCase):
23+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
2324
def setUp(self):
2425
self.backup_dir = os.path.join(self.tmp_path, self.module_name, self.fname, 'backup')
2526

@@ -60,6 +61,7 @@ def add_data_in_cluster(self):
6061
class CfsRestoreNoencEmptyTablespaceTest(CfsRestoreBase):
6162
# @unittest.expectedFailure
6263
# @unittest.skip("skip")
64+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
6365
def test_restore_empty_tablespace_from_fullbackup(self):
6466
"""
6567
Case: Restore empty tablespace from valid full backup.
@@ -118,6 +120,7 @@ def add_data_in_cluster(self):
118120
# --- Restore from full backup ---#
119121
# @unittest.expectedFailure
120122
# @unittest.skip("skip")
123+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
121124
def test_restore_from_fullbackup_to_old_location(self):
122125
"""
123126
Case: Restore instance from valid full backup to old location.
@@ -157,6 +160,7 @@ def test_restore_from_fullbackup_to_old_location(self):
157160

158161
# @unittest.expectedFailure
159162
# @unittest.skip("skip")
163+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
160164
def test_restore_from_fullbackup_to_old_location_3_jobs(self):
161165
"""
162166
Case: Restore instance from valid full backup to old location.
@@ -195,6 +199,7 @@ def test_restore_from_fullbackup_to_old_location_3_jobs(self):
195199

196200
# @unittest.expectedFailure
197201
# @unittest.skip("skip")
202+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
198203
def test_restore_from_fullbackup_to_new_location(self):
199204
"""
200205
Case: Restore instance from valid full backup to new location.
@@ -238,6 +243,7 @@ def test_restore_from_fullbackup_to_new_location(self):
238243

239244
# @unittest.expectedFailure
240245
# @unittest.skip("skip")
246+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
241247
def test_restore_from_fullbackup_to_new_location_5_jobs(self):
242248
"""
243249
Case: Restore instance from valid full backup to new location.
@@ -281,6 +287,7 @@ def test_restore_from_fullbackup_to_new_location_5_jobs(self):
281287

282288
# @unittest.expectedFailure
283289
# @unittest.skip("skip")
290+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
284291
def test_restore_from_fullbackup_to_old_location_tablespace_new_location(self):
285292
self.node.stop()
286293
self.node.cleanup()
@@ -327,6 +334,7 @@ def test_restore_from_fullbackup_to_old_location_tablespace_new_location(self):
327334

328335
# @unittest.expectedFailure
329336
# @unittest.skip("skip")
337+
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
330338
def test_restore_from_fullbackup_to_old_location_tablespace_new_location_3_jobs(self):
331339
self.node.stop()
332340
self.node.cleanup()

0 commit comments

Comments
 (0)
0