GitHub user squito opened a pull request: https://github.com/apache/spark/pull/4048
SPARK-4747 make it easy to skip IntegrationTests * create an `IntegrationTest` tag * label all tests in core as an `IntegrationTest` if they use a `local-cluster` * make a `unit-test` task in sbt so its easy to skip all the unit tests in local development. On my laptop, this means that I can run `~unit-test` in my sbt console, which takes ~5 mins on the first run. But since it is calling `test-quick` under the hood, this means that as I make changes, it only re-runs the tests I've effected. so generally I can update on all tests in a second or two. Of course this means its skipping a bunch of important tests, but hopefully this is a useful subset of tests that can actually be run locally. If you don't skip the IntegrationTests, its totally impractical to ever get through even the first run of `test-quick` on my laptop. An added bonus is that this set of tests can be run without having to ever do the `mvn package` step, since we are never launching a full cluster as an external process. You can merge this pull request into a Git repository by running: $ git pull https://github.com/squito/spark SPARK-4746 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/4048.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4048 ---- commit 030cc0c0cb57d35a043e68509a3997fb3f1a3dc1 Author: Imran Rashid <iras...@cloudera.com> Date: 2015-01-13T21:45:38Z add IntegrationTest tag, and label a bunch of tests in core commit 30f4d636387e57e9c104024db5a20afcde1b7cbb Author: Imran Rashid <iras...@cloudera.com> Date: 2015-01-14T19:36:37Z add a unit-test task commit 3a8503227d53554155e5766ce12d48039854f163 Author: Imran Rashid <iras...@cloudera.com> Date: 2015-01-14T20:41:07Z fix task name ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org