Skip to content

Commit 8ac5d64

Browse files
authored
Merge pull request #12056 from petr-balogh/copose_rdr_ui_marker
Compose rdr_ui marker with skipif
2 parents b0c4d2f + f6cf3c0 commit 8ac5d64

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
@@ -588,11 +588,12 @@
588588
reason="Metrics is not enabled for external mode OCS <4.6",
589589
)
590590

591-
rdr_ui = pytest.mark.skipif(
591+
rdr_ui_skipif = pytest.mark.skipif(
592592
not config.RUN.get("rdr_failover_via_ui")
593593
or not config.RUN.get("rdr_relocate_via_ui"),
594594
reason="RDR UI failover or relocate config needed",
595595
)
596+
rdr_ui = compose(rdr_ui_skipif, pytest.mark.rdr_ui)
596597

597598
dr_hub_recovery = pytest.mark.skipif(
598599
config.nclusters != 4,

0 commit comments

Comments
 (0)