Skip to content

Commit ce7b57c

Browse files
committed
[SPARK-26106][PYTHON] Prioritizes ML unittests over the doctests in PySpark
## What changes were proposed in this pull request? Arguably, unittests usually takes longer then doctests. We better prioritize unittests over doctests. Other modules are already being prioritized over doctests. Looks ML module was missed at the very first place. ## How was this patch tested? Jenkins tests. Closes apache#23078 from HyukjinKwon/SPARK-26106. Authored-by: hyukjinkwon <[email protected]> Signed-off-by: hyukjinkwon <[email protected]>
1 parent 9b48107 commit ce7b57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def main():
250250
if python_implementation not in module.blacklisted_python_implementations:
251251
for test_goal in module.python_test_goals:
252252
heavy_tests = ['pyspark.streaming.tests', 'pyspark.mllib.tests',
253-
'pyspark.tests', 'pyspark.sql.tests']
253+
'pyspark.tests', 'pyspark.sql.tests', 'pyspark.ml.tests']
254254
if any(map(lambda prefix: test_goal.startswith(prefix), heavy_tests)):
255255
priority = 0
256256
else:

0 commit comments

Comments
 (0)