Skip to content

Commit f6cf3c0

Browse files
committed
Compose rdr_ui marker with skipif
Signed-off-by: Petr Balogh <[email protected]>
1 parent 572bca1 commit f6cf3c0

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)