Skip to content

Commit

Permalink
close spark session in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-torres committed Mar 29, 2018
1 parent c6613ff commit 7be16a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ class TestSparkSessionSuite extends SparkFunSuite {
test("default session is set in constructor") {
val session = new TestSparkSession()
assert(SparkSession.getDefaultSession.contains(session))
session.stop()
}
}

0 comments on commit 7be16a9

Please sign in to comment.