File tree Expand file tree Collapse file tree 1 file changed +35
-3
lines changed
python/pyspark/ml/tests/connect Expand file tree Collapse file tree 1 file changed +35
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
import unittest
19
19
20
+ from pyspark .testing .utils import eventually , timeout
20
21
from pyspark .ml .tests .test_classification import ClassificationTestsMixin
21
22
from pyspark .testing .connectutils import ReusedConnectTestCase
22
23
23
24
24
- # TODO(SPARK-52764): Re-enable this test after fixing the flakiness.
25
- @unittest .skip ("Disabled due to flakiness, should be enabled after fixing the issue" )
26
25
class ClassificationParityTests (ClassificationTestsMixin , ReusedConnectTestCase ):
27
- pass
26
+ @eventually (60 )
27
+ @timeout (10 )
28
+ def test_binary_logistic_regression_summary (self ):
29
+ super ().test_binary_logistic_regression_summary ()
30
+
31
+ @eventually (60 )
32
+ @timeout (10 )
33
+ def test_multiclass_logistic_regression_summary (self ):
34
+ super ().test_multiclass_logistic_regression_summary ()
35
+
36
+ @eventually (60 )
37
+ @timeout (10 )
38
+ def test_linear_svc (self ):
39
+ super ().test_linear_svc ()
40
+
41
+ @eventually (60 )
42
+ @timeout (10 )
43
+ def test_factorization_machine (self ):
44
+ super ().test_factorization_machine ()
45
+
46
+ @eventually (60 )
47
+ @timeout (10 )
48
+ def test_binary_random_forest_classifier (self ):
49
+ super ().test_binary_random_forest_classifier ()
50
+
51
+ @eventually (60 )
52
+ @timeout (10 )
53
+ def test_multiclass_random_forest_classifier (self ):
54
+ super ().test_multiclass_random_forest_classifier ()
55
+
56
+ @eventually (60 )
57
+ @timeout (10 )
58
+ def test_mlp (self ):
59
+ super ().test_mlp ()
28
60
29
61
30
62
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments