From d27fe9ba6763aae6a5e48f16d7cbd85658df7cf7 Mon Sep 17 00:00:00 2001 From: Felix Cheung Date: Sun, 17 Jul 2016 19:02:21 -0700 Subject: [SPARK-16027][SPARKR] Fix R tests SparkSession init/stop ## What changes were proposed in this pull request? Fix R SparkSession init/stop, and warnings of reusing existing Spark Context ## How was this patch tested? unit tests shivaram Author: Felix Cheung Closes #14177 from felixcheung/rsessiontest. --- R/pkg/inst/tests/testthat/test_sparkSQL.R | 2 ++ 1 file changed, 2 insertions(+) (limited to 'R/pkg/inst/tests/testthat/test_sparkSQL.R') diff --git a/R/pkg/inst/tests/testthat/test_sparkSQL.R b/R/pkg/inst/tests/testthat/test_sparkSQL.R index f275284b09..3f3cb766b3 100644 --- a/R/pkg/inst/tests/testthat/test_sparkSQL.R +++ b/R/pkg/inst/tests/testthat/test_sparkSQL.R @@ -2489,3 +2489,5 @@ unlink(parquetPath) unlink(orcPath) unlink(jsonPath) unlink(jsonPathNa) + +sparkR.session.stop() -- cgit v1.2.3