Skip to content

Commit 6a74d31

Browse files
petr-baloghopenshift-cherrypick-robot
authored and
openshift-cherrypick-robot
committed
Compose rdr_ui marker with skipif
Signed-off-by: Petr Balogh <[email protected]>
1 parent e86ac69 commit 6a74d31

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)