From 48aa25acb28afbffee21a357862fbad5afa4f928 Mon Sep 17 00:00:00 2001 From: Ruifeng Zheng Date: Wed, 22 Jan 2025 11:55:36 +0900 Subject: [PATCH] [SPARK-50913][PYTHON][TESTS] Skip flaky EvaluationTestsOnConnect.test_binary_classifier_evaluator ### What changes were proposed in this pull request? Skip flaky EvaluationTestsOnConnect.test_binary_classifier_evaluator ### Why are the changes needed? the corresponding module `pyspark.ml.connect` has been drepecated and this test is flaky ### Does this PR introduce _any_ user-facing change? no, test-only ### How was this patch tested? ci ### Was this patch authored or co-authored using generative AI tooling? no Closes #49595 from zhengruifeng/skip_test_binary_classifier_evaluator. Authored-by: Ruifeng Zheng Signed-off-by: Hyukjin Kwon --- python/pyspark/ml/tests/connect/test_connect_evaluation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/pyspark/ml/tests/connect/test_connect_evaluation.py b/python/pyspark/ml/tests/connect/test_connect_evaluation.py index cabd8b5b50df1..687e84950545e 100644 --- a/python/pyspark/ml/tests/connect/test_connect_evaluation.py +++ b/python/pyspark/ml/tests/connect/test_connect_evaluation.py @@ -38,6 +38,10 @@ def setUp(self) -> None: def tearDown(self) -> None: self.spark.stop() + @unittest.skip("SPARK-50913: Flaky with RetriesExceeded") + def test_binary_classifier_evaluator(self): + self._test_binary_classifier_evaluator() + if __name__ == "__main__": from pyspark.ml.tests.connect.test_connect_evaluation import * # noqa: F401,F403