Skip to content

Commit 4753482

Browse files
authored
Merge pull request #12088 from openshift-cherrypick-robot/cherry-pick-12056-to-master
[master] Compose rdr_ui marker with skipif
2 parents 46abf29 + 6a74d31 commit 4753482

File tree

1 file changed

+2
-1
lines changed
  • ocs_ci/framework/pytest_customization

1 file changed

+2
-1
lines changed

ocs_ci/framework/pytest_customization/marks.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -608,11 +608,12 @@
608608
reason="Metrics is not enabled for external mode OCS <4.6",
609609
)
610610

611-
rdr_ui = pytest.mark.skipif(
611+
rdr_ui_skipif = pytest.mark.skipif(
612612
not config.RUN.get("rdr_failover_via_ui")
613613
or not config.RUN.get("rdr_relocate_via_ui"),
614614
reason="RDR UI failover or relocate config needed",
615615
)
616+
rdr_ui = compose(rdr_ui_skipif, pytest.mark.rdr_ui)
616617

617618
dr_hub_recovery = pytest.mark.skipif(
618619
config.nclusters != 4,

0 commit comments

Comments
 (0)