Skip to content

Commit

Permalink
add time sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you committed Mar 1, 2021
1 parent 209a59e commit fd9b73c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class SessionSuite extends WithSparkSQLEngine with JDBCTestUtils {
test("release session if shared level is CONNECTION") {
assert(engine.isAlive())
withJdbcStatement() {_ => }
Thread.sleep(5000)
assert(!engine.isAlive())
}

Expand Down

0 comments on commit fd9b73c

Please # to comment.