TestServer.isRunning
throws an exception when the server is not running.
#12331
Milestone
TestServer.isRunning
throws an exception when the server is not running.
#12331
Play Version
Latest
API
Scala
Operating System
N/A
JDK
N/A
Library Dependencies
Expected Behavior
I'd expect it to return true or false
Actual Behavior
It raises an exception when the server is not running.
Reproducible Test Case
playframework/testkit/play-test/src/main/scala/play/api/test/TestServer.scala
Line 28 in a77da07
Here's the code:
I wonder if we should catch an exception in
isRunning
.The text was updated successfully, but these errors were encountered: