diff options
author | Josh Rosen <joshrosen@databricks.com> | 2016-01-26 14:20:11 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2016-01-26 14:20:11 -0800 |
commit | ee74498de372b16fe6350e3617e9e6ec87c6ae7b (patch) | |
tree | 0adf34b8e4c9421d79b04988b4c39e8715e6a5f6 /NOTICE | |
parent | fbf7623d49525e3aa6b08f482afd7ee8118d80cb (diff) | |
download | spark-ee74498de372b16fe6350e3617e9e6ec87c6ae7b.tar.gz spark-ee74498de372b16fe6350e3617e9e6ec87c6ae7b.tar.bz2 spark-ee74498de372b16fe6350e3617e9e6ec87c6ae7b.zip |
[SPARK-8725][PROJECT-INFRA] Test modules in topologically-sorted order in dev/run-tests
This patch improves our `dev/run-tests` script to test modules in a topologically-sorted order based on modules' dependencies. This will help to ensure that bugs in upstream projects are not misattributed to downstream projects because those projects' tests were the first ones to exhibit the failure
Topological sorting is also useful for shortening the feedback loop when testing pull requests: if I make a change in SQL then the SQL tests should run before MLlib, not after.
In addition, this patch also updates our test module definitions to split `sql` into `catalyst`, `sql`, and `hive` in order to allow more tests to be skipped when changing only `hive/` files.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #10885 from JoshRosen/SPARK-8725.
Diffstat (limited to 'NOTICE')
-rw-r--r-- | NOTICE | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -650,3 +650,19 @@ For CSV functionality: */ +=============================================================================== +For dev/sparktestsupport/toposort.py: + +Copyright 2014 True Blade Systems, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. |