Skip to content

Commit 212f3ff

Browse files
committed
Skip test cases which require tool box in MCG Only deplyment
Signed-off-by: vavuthu <[email protected]>
1 parent a236e80 commit 212f3ff

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

tests/cross_functional/scale/upgrade/test_upgrade_with_scaled_rgw_obc.py

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
pre_upgrade,
1010
post_upgrade,
1111
skipif_managed_service,
12+
skipif_mcg_only,
1213
skipif_bm,
1314
skipif_external_mode,
1415
vsphere_platform_required,
@@ -41,6 +42,7 @@
4142
@skipif_external_mode
4243
@skipif_bm
4344
@skipif_managed_service
45+
@skipif_mcg_only
4446
@pytest.mark.polarion_id("OCS-3987")
4547
def test_scale_obc_rgw_pre_upgrade(tmp_path, mcg_job_factory, timeout=60):
4648
"""

tests/functional/monitoring/workload/test_workload_with_distruptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
@pre_upgrade
5454
@tier2
5555
@skipif_managed_service
56+
@skipif_mcg_only
5657
@skipif_hci_provider_and_client
5758
def test_workload_with_checksum(workload_storageutilization_checksum_rbd):
5859
"""

tests/functional/pod_and_daemons/test_mgr_pods.py

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
post_ocs_upgrade,
99
polarion_id,
1010
skipif_external_mode,
11+
skipif_mcg_only,
1112
)
1213
from ocs_ci.ocs import exceptions
1314
from ocs_ci.ocs.resources import pod
@@ -82,6 +83,7 @@ def test_two_mgr_pods_and_metadata(self):
8283
log.info(f"Name entries in mgr metadata: {mgr_metadata_names}")
8384

8485
@green_squad
86+
@skipif_mcg_only
8587
@polarion_id("OCS-5438")
8688
def test_two_mgr_daemons_and_failure(self):
8789
"""
@@ -140,6 +142,7 @@ def test_two_mgr_daemons_and_failure(self):
140142

141143
@polarion_id("OCS-5439")
142144
@green_squad
145+
@skipif_mcg_only
143146
def test_mgr_pod_reboot(self):
144147
"""
145148
- Deoloy OCP and ODF

tests/functional/storageclass/test_cross_sc_clone_snap_restore.py

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
polarion_id,
1010
post_upgrade,
1111
skipif_managed_service,
12+
skipif_mcg_only,
1213
skipif_hci_provider_and_client,
1314
skipif_external_mode,
1415
)
@@ -42,6 +43,7 @@ class TestCrossScCloneSnapRestore(ManageTest):
4243
pytest.param(*[constants.CEPHFILESYSTEM]),
4344
],
4445
)
46+
@skipif_mcg_only
4547
@polarion_id("OCS-5872")
4648
@polarion_id("OCS-5873")
4749
def test_cross_class_same_pool_clone_snap_restore(
@@ -179,6 +181,7 @@ def test_cross_class_same_pool_clone_snap_restore(
179181
pytest.param(*[constants.CEPHFILESYSTEM], 2, 3, False),
180182
],
181183
)
184+
@skipif_mcg_only
182185
@polarion_id("OCS-5871")
183186
@polarion_id("OCS-5874")
184187
@polarion_id("OCS-5875")

tests/functional/upgrade/test_configuration.py

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
pre_upgrade,
88
post_upgrade,
99
brown_squad,
10+
skipif_mcg_only,
1011
tier1,
1112
)
1213
from ocs_ci.ocs import constants
@@ -48,6 +49,7 @@ def pre_upgrade_crush_map():
4849

4950
@pre_upgrade
5051
@brown_squad
52+
@skipif_mcg_only
5153
def test_load_crush_map(pre_upgrade_crush_map):
5254
"""
5355
Load CRUSH map.
@@ -57,6 +59,7 @@ def test_load_crush_map(pre_upgrade_crush_map):
5759

5860
@post_upgrade
5961
@brown_squad
62+
@skipif_mcg_only
6063
@pytest.mark.polarion_id("OCS-1936")
6164
def test_crush_map_unchanged(pre_upgrade_crush_map):
6265
"""

0 commit comments

Comments
 (0)