spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HyukjinKwon <>
Subject [GitHub] spark pull request #12743: [SPARK-13023][PROJECT INFRA][BRANCH-1.6] Fix hand...
Date Wed, 22 Jun 2016 13:07:01 GMT
Github user HyukjinKwon commented on a diff in the pull request:
    --- Diff: dev/ ---
    @@ -101,21 +101,21 @@ def determine_modules_to_test(changed_modules):
         >>> sorted( for x in determine_modules_to_test([modules.root]))
    +    >>> [ for x in determine_modules_to_test([])]
    +    ['root']
         >>> sorted( for x in determine_modules_to_test([modules.graphx]))
         ['examples', 'graphx']
         >>> x = sorted( for x in determine_modules_to_test([modules.sql]))
         >>> x # doctest: +NORMALIZE_WHITESPACE
         ['examples', 'hive-thriftserver', 'mllib', 'pyspark-ml', \
          'pyspark-mllib', 'pyspark-sql', 'sparkr', 'sql']
    -    # If we're going to have to run all of the tests, then we can just short-circuit
    -    # and return 'root'. No module depends on root, so if it appears then it will be
    -    # in changed_modules.
    -    if modules.root in changed_modules:
    -        return [modules.root]
         modules_to_test = set()
         for module in changed_modules:
             modules_to_test = modules_to_test.union(determine_modules_to_test(module.dependent_modules))
    +    # If we need to run all of the tests, then we should short-circuit and return 'root'
    +    if modules.root in modules_to_test:
    +        return [modules.root]
    --- End diff --
    It seems okay for branch-2.0 and master as `root` is being checked after merging both
`chaned_modules` and `modules_to_test`.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message