We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a1ea8 commit fbf2235Copy full SHA for fbf2235
tests/conftest.py
@@ -653,6 +653,12 @@ def cluster_sanity_scope_session(
653
dsc_resource: DataScienceCluster,
654
junitxml_plugin: Callable[[str, object], None],
655
) -> None:
656
+ # Skip cluster sanity check when running tests that have cluster_health or operator_health markers
657
+ selected_markers = {mark.name for item in request.session.items for mark in item.iter_markers()}
658
+ if {"cluster_health", "operator_health"} & selected_markers:
659
+ LOGGER.info("Skipping cluster sanity check because selected tests include cluster/operator health")
660
+ return
661
+
662
verify_cluster_sanity(
663
request=request,
664
nodes=nodes,
0 commit comments