This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a45eb2b5ba2d [SPARK-50956][ML][TESTS][FOLLOW-UP] Skip flaky
EvaluationTestsOnConnect
a45eb2b5ba2d is described below
commit a45eb2b5ba2dba4ccd26641e966db26cd0c02ecb
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Sat Jan 25 15:35:37 2025 +0800
[SPARK-50956][ML][TESTS][FOLLOW-UP] Skip flaky EvaluationTestsOnConnect
### What changes were proposed in this pull request?
Skip flaky EvaluationTestsOnConnect
### Why are the changes needed?
it is not stable
### 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 #49666 from zhengruifeng/skip_connect_eval.
Lead-authored-by: Ruifeng Zheng <[email protected]>
Co-authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
.../pyspark/ml/tests/connect/test_connect_evaluation.py | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/python/pyspark/ml/tests/connect/test_connect_evaluation.py
b/python/pyspark/ml/tests/connect/test_connect_evaluation.py
index 2210679f0da2..662fe8a2ffdf 100644
--- a/python/pyspark/ml/tests/connect/test_connect_evaluation.py
+++ b/python/pyspark/ml/tests/connect/test_connect_evaluation.py
@@ -19,16 +19,12 @@ import os
import unittest
from pyspark.sql import SparkSession
-from pyspark.testing.connectutils import should_test_connect,
connect_requirement_message
-from pyspark.testing.utils import have_torcheval, torcheval_requirement_message
+from pyspark.testing.connectutils import should_test_connect
if should_test_connect:
from pyspark.ml.tests.connect.test_legacy_mode_evaluation import
EvaluationTestsMixin
- @unittest.skipIf(
- not should_test_connect or not have_torcheval,
- connect_requirement_message or torcheval_requirement_message,
- )
+ @unittest.skip("SPARK-50956: Flaky with RetriesExceeded")
class EvaluationTestsOnConnect(EvaluationTestsMixin, unittest.TestCase):
def setUp(self) -> None:
self.spark = SparkSession.builder.remote(
@@ -38,14 +34,6 @@ if should_test_connect:
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()
-
- @unittest.skip("SPARK-50956: Flaky with RetriesExceeded")
- def test_multiclass_classifier_evaluator(self):
- self.test_multiclass_classifier_evaluator()
-
if __name__ == "__main__":
from pyspark.ml.tests.connect.test_connect_evaluation import * # noqa:
F401,F403
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]