Skip to content

Commit

Permalink
Terminate Akka afterEach RuntimeServerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Apr 28, 2023
1 parent 5b08bcf commit ae3050e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ class RuntimeServerTest

override protected def afterEach(): Unit = {
context.executionContext.context.close()
context.runtimeServerEmulator.terminate()
}

"RuntimeServer" should "push and pop functions on the stack" in {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,6 @@ class RuntimeServerEmulator(
}
} else null
}

def terminate() = system.terminate()
}

0 comments on commit ae3050e

Please sign in to comment.