Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/3235#issuecomment-62816944
This issue has bitten the Spark SQL folks, too. As you've noticed, this
shared SparkContext setup / teardown needs to be performed in a `before()`
method and not in the test suite constructor, since Maven may initialize
multiple test suites before running any of them, whereas sbt tends to
initialize them one at a time.
---
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]