From 4212c88de16cc6a7b0babe8b5d2bfd9c44baded2 Mon Sep 17 00:00:00 2001
From: "Ahmed Hussein (amahussein)"
Date: Thu, 6 Feb 2025 08:51:05 -0600
Subject: [PATCH] Disable diagnostics pytests
Signed-off-by: Ahmed Hussein (amahussein)
Fixes #1531
Skip `class TestInfoCollect` to avoid intermittent failures in the unit
tests given that the diagnostics feature is not maintained.
---
user_tools/tests/test_diagnostic.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/user_tools/tests/test_diagnostic.py b/user_tools/tests/test_diagnostic.py
index ea3f8cefa..4060720a6 100644
--- a/user_tools/tests/test_diagnostic.py
+++ b/user_tools/tests/test_diagnostic.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2023, NVIDIA CORPORATION.
+# Copyright (c) 2023-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
from .mock_cluster import mock_live_cluster
+@pytest.mark.skip(reason="The cluster's env diagnostics tool is not maintained")
@pytest.mark.parametrize('cloud', ['dataproc', 'emr', 'databricks-aws', 'databricks-azure'])
class TestInfoCollect:
"""Test info collect functions."""