Repository: spark
Updated Branches:
  refs/heads/master 9b48107f9 -> ce7b57cb5


[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 #23078 from HyukjinKwon/SPARK-26106.

Authored-by: hyukjinkwon <gurwls...@apache.org>
Signed-off-by: hyukjinkwon <gurwls...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ce7b57cb
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ce7b57cb
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ce7b57cb

Branch: refs/heads/master
Commit: ce7b57cb5d552ac3df8557a3863792c425005994
Parents: 9b48107
Author: hyukjinkwon <gurwls...@apache.org>
Authored: Thu Nov 22 08:02:23 2018 +0800
Committer: hyukjinkwon <gurwls...@apache.org>
Committed: Thu Nov 22 08:02:23 2018 +0800

----------------------------------------------------------------------
 python/run-tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/ce7b57cb/python/run-tests.py
----------------------------------------------------------------------
diff --git a/python/run-tests.py b/python/run-tests.py
index 9fd1c9b..01a6e81 100755
--- a/python/run-tests.py
+++ b/python/run-tests.py
@@ -250,7 +250,7 @@ def main():
             if python_implementation not in 
module.blacklisted_python_implementations:
                 for test_goal in module.python_test_goals:
                     heavy_tests = ['pyspark.streaming.tests', 
'pyspark.mllib.tests',
-                                   'pyspark.tests', 'pyspark.sql.tests']
+                                   'pyspark.tests', 'pyspark.sql.tests', 
'pyspark.ml.tests']
                     if any(map(lambda prefix: test_goal.startswith(prefix), 
heavy_tests)):
                         priority = 0
                     else:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to