diff --git a/R/pkg/tests/fulltests/test_mllib_classification.R b/R/pkg/tests/fulltests/test_mllib_classification.R index 25e113d1f06a0..9dd275a173089 100644 --- a/R/pkg/tests/fulltests/test_mllib_classification.R +++ b/R/pkg/tests/fulltests/test_mllib_classification.R @@ -518,8 +518,8 @@ test_that("spark.fmClassifier", { collect(drop(prediction1, c("rawPrediction", "probability"))), collect(drop(prediction2, c("rawPrediction", "probability"))) ) + unlink(modelPath) } }) - sparkR.session.stop()