We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd3dbb0 commit faa8677Copy full SHA for faa8677
tests/conftest.py
@@ -676,6 +676,12 @@ def cluster_sanity_scope_session(
676
dsc_resource: DataScienceCluster,
677
junitxml_plugin: Callable[[str, object], None],
678
) -> None:
679
+ # Skip cluster sanity check when running tests that have cluster_health or operator_health markers
680
+ selected_markers = {mark.name for item in request.session.items for mark in item.iter_markers()}
681
+ if {"cluster_health", "operator_health"} & selected_markers:
682
+ LOGGER.info("Skipping cluster sanity check because selected tests include cluster/operator health")
683
+ return
684
+
685
verify_cluster_sanity(
686
request=request,
687
nodes=nodes,
0 commit comments