Skip to content

Commit

Permalink
Update kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/B…
Browse files Browse the repository at this point in the history
…atchesResourceSuite.scala
  • Loading branch information
pan3793 authored Nov 21, 2023
1 parent 71770a6 commit 91d9bc5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ class BatchesV2ResourceSuite extends BatchesResourceSuiteBase {
.foreach { batch => batchService.cancelUnscheduledBatch(batch.getId) }
super.afterEach()
sessionManager.allSessions().foreach { session =>
Utils.tryLogNonFatalError {
sessionManager.closeSession(session.handle)
}
Utils.tryLogNonFatalError { sessionManager.closeSession(session.handle) }
}
}
}
Expand Down

0 comments on commit 91d9bc5

Please sign in to comment.