Skip to content
Snippets Groups Projects
Commit 165f52f2 authored by Josh Rosen's avatar Josh Rosen
Browse files

[HOTFIX] [PROJECT-INFRA] Fix bug in dev/run-tests for MLlib-only PRs

parent d1069cba
No related branches found
No related tags found
No related merge requests found
...@@ -391,7 +391,7 @@ def run_scala_tests_maven(test_profiles): ...@@ -391,7 +391,7 @@ def run_scala_tests_maven(test_profiles):
def run_scala_tests_sbt(test_modules, test_profiles): def run_scala_tests_sbt(test_modules, test_profiles):
# declare the variable for reference # declare the variable for reference
sbt_test_goals = None sbt_test_goals = []
if "ALL" in test_modules: if "ALL" in test_modules:
sbt_test_goals = ["test"] sbt_test_goals = ["test"]
...@@ -399,12 +399,12 @@ def run_scala_tests_sbt(test_modules, test_profiles): ...@@ -399,12 +399,12 @@ def run_scala_tests_sbt(test_modules, test_profiles):
# if we only have changes in SQL, MLlib, Streaming, or GraphX then build # if we only have changes in SQL, MLlib, Streaming, or GraphX then build
# a custom test list # a custom test list
if "SQL" in test_modules and "CORE" not in test_modules: if "SQL" in test_modules and "CORE" not in test_modules:
sbt_test_goals = ["catalyst/test", sbt_test_goals += ["catalyst/test",
"sql/test", "sql/test",
"hive/test", "hive/test",
"hive-thriftserver/test", "hive-thriftserver/test",
"mllib/test", "mllib/test",
"examples/test"] "examples/test"]
if "MLLIB" in test_modules and "CORE" not in test_modules: if "MLLIB" in test_modules and "CORE" not in test_modules:
sbt_test_goals += ["mllib/test", "examples/test"] sbt_test_goals += ["mllib/test", "examples/test"]
if "STREAMING" in test_modules and "CORE" not in test_modules: if "STREAMING" in test_modules and "CORE" not in test_modules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment