|
20 | 20 |
|
21 | 21 |
|
22 | 22 | class CfsRestoreBase(ProbackupTest, unittest.TestCase): |
| 23 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
23 | 24 | def setUp(self): |
24 | 25 | self.backup_dir = os.path.join(self.tmp_path, self.module_name, self.fname, 'backup') |
25 | 26 |
|
@@ -60,6 +61,7 @@ def add_data_in_cluster(self): |
60 | 61 | class CfsRestoreNoencEmptyTablespaceTest(CfsRestoreBase): |
61 | 62 | # @unittest.expectedFailure |
62 | 63 | # @unittest.skip("skip") |
| 64 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
63 | 65 | def test_restore_empty_tablespace_from_fullbackup(self): |
64 | 66 | """ |
65 | 67 | Case: Restore empty tablespace from valid full backup. |
@@ -118,6 +120,7 @@ def add_data_in_cluster(self): |
118 | 120 | # --- Restore from full backup ---# |
119 | 121 | # @unittest.expectedFailure |
120 | 122 | # @unittest.skip("skip") |
| 123 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
121 | 124 | def test_restore_from_fullbackup_to_old_location(self): |
122 | 125 | """ |
123 | 126 | Case: Restore instance from valid full backup to old location. |
@@ -157,6 +160,7 @@ def test_restore_from_fullbackup_to_old_location(self): |
157 | 160 |
|
158 | 161 | # @unittest.expectedFailure |
159 | 162 | # @unittest.skip("skip") |
| 163 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
160 | 164 | def test_restore_from_fullbackup_to_old_location_3_jobs(self): |
161 | 165 | """ |
162 | 166 | 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): |
195 | 199 |
|
196 | 200 | # @unittest.expectedFailure |
197 | 201 | # @unittest.skip("skip") |
| 202 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
198 | 203 | def test_restore_from_fullbackup_to_new_location(self): |
199 | 204 | """ |
200 | 205 | Case: Restore instance from valid full backup to new location. |
@@ -238,6 +243,7 @@ def test_restore_from_fullbackup_to_new_location(self): |
238 | 243 |
|
239 | 244 | # @unittest.expectedFailure |
240 | 245 | # @unittest.skip("skip") |
| 246 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
241 | 247 | def test_restore_from_fullbackup_to_new_location_5_jobs(self): |
242 | 248 | """ |
243 | 249 | 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): |
281 | 287 |
|
282 | 288 | # @unittest.expectedFailure |
283 | 289 | # @unittest.skip("skip") |
| 290 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
284 | 291 | def test_restore_from_fullbackup_to_old_location_tablespace_new_location(self): |
285 | 292 | self.node.stop() |
286 | 293 | self.node.cleanup() |
@@ -327,6 +334,7 @@ def test_restore_from_fullbackup_to_old_location_tablespace_new_location(self): |
327 | 334 |
|
328 | 335 | # @unittest.expectedFailure |
329 | 336 | # @unittest.skip("skip") |
| 337 | + @unittest.skipUnless(ProbackupTest.enterprise, 'skip') |
330 | 338 | def test_restore_from_fullbackup_to_old_location_tablespace_new_location_3_jobs(self): |
331 | 339 | self.node.stop() |
332 | 340 | self.node.cleanup() |
|
0 commit comments