aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2015-11-12 20:01:13 -0800
committerXiangrui Meng <meng@databricks.com>2015-11-12 20:01:13 -0800
commite71c07557c39e2f74bd20d2ab3a2fca88aa5dfbb (patch)
tree0ff633ab5751f2b63a7bb568e1bb27d6308e07e7 /R
parente4e46b20f6475f8e148d5326f7c88c57850d46a1 (diff)
downloadspark-e71c07557c39e2f74bd20d2ab3a2fca88aa5dfbb.tar.gz
spark-e71c07557c39e2f74bd20d2ab3a2fca88aa5dfbb.tar.bz2
spark-e71c07557c39e2f74bd20d2ab3a2fca88aa5dfbb.zip
[SPARK-11672][ML] flaky spark.ml read/write tests
We set `sqlContext = null` in `afterAll`. However, this doesn't change `SQLContext.activeContext` and then `SQLContext.getOrCreate` might use the `SparkContext` from previous test suite and hence causes the error. This PR calls `clearActive` in `beforeAll` and `afterAll` to avoid using an old context from other test suites. cc: yhuai Author: Xiangrui Meng <meng@databricks.com> Closes #9677 from mengxr/SPARK-11672.2.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions