Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you committed Jun 20, 2020
1 parent 4d7ff58 commit a59119f
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -252,6 +252,8 @@ class SparkSessionBuilderSuite extends SparkFunSuite with BeforeAndAfterEach {
.getOrCreate()

context.stop()
// wait for application end event
Thread.sleep(1000)
assert(SparkSession.getDefaultSession.isEmpty)
assert(SparkSession.getActiveSession.isEmpty)
val msg = intercept[IllegalStateException] {
Expand Down

0 comments on commit a59119f

Please sign in to comment.