Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/6967#discussion_r33152435
--- Diff: dev/run-tests.py ---
@@ -362,18 +87,21 @@ def determine_modules_to_test(changed_modules):
Given a set of modules that have changed, compute the transitive
closure of those modules'
dependent modules in order to determine the set of modules that should
be tested.
- >>> sorted(x.name for x in determine_modules_to_test([root]))
+ >>> sorted(x.name for x in determine_modules_to_test([modules.root]))
['root']
- >>> sorted(x.name for x in determine_modules_to_test([graphx]))
+ >>> sorted(x.name for x in determine_modules_to_test([modules.graphx]))
['examples', 'graphx']
- >>> sorted(x.name for x in determine_modules_to_test([sql]))
- ['examples', 'hive-thriftserver', 'mllib', 'pyspark', 'sparkr', 'sql']
+ >>> x = sorted(x.name for x in
determine_modules_to_test([modules.sql]))
+ >>> x # doctest: +NORMALIZE_WHITESPACE
+ ['examples', 'hive-thriftserver', 'mllib', 'pyspark-core', \
+ 'pyspark-mllib', 'pyspark-sql', 'pyspark-sql', 'pyspark-streaming', \
--- End diff --
Whoops, just realized that `pyspark-sql` appears twice; I probably forgot a
`set()` call somewhere; will investigate.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]