GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/6353
[SPARK-7684] [SQL] Refactoring MetastoreDataSourcesSuite to workaround
SPARK-7684
As stated in SPARK-7684, currently `TestHive.reset` has some execution
order specific bug, which makes running specific test suites locally pretty
frustrating. This PR refactors `MetastoreDataSourcesSuite` (which relies on
`TestHive.reset` heavily) using various `withXxx` utility methods in
`SQLTestUtils` to ask each test case to cleanup their own mess so that we can
avoid calling `TestHive.reset`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark workaround-spark-7684
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6353.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 #6353
----
commit 398a45b9e2191f5bd4f78ad0331b3fdf2573f32e
Author: Cheng Lian <[email protected]>
Date: 2015-05-22T03:34:00Z
Fixes minor styling issues
commit b85ff64bacf94c51ea79d07b9ae2ef2b17519c52
Author: Cheng Lian <[email protected]>
Date: 2015-05-22T10:30:42Z
Refactors MetastoreDataSourcesSuite to workaround SPARK-7684
----
---
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]