We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d476993 commit a6697f4Copy full SHA for a6697f4
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 with cluster_health or operator_health markers
680
+ markexpr = request.config.getoption(name="markexpr")
681
+ if markexpr and any(marker in markexpr for marker in ["cluster_health", "operator_health"]):
682
+ LOGGER.info(f"Skipping cluster sanity check due to marker expression: {markexpr}")
683
+ return
684
+
685
verify_cluster_sanity(
686
request=request,
687
nodes=nodes,
0 commit comments