#19046 replace system.{shutdown => terminate}

This commit is contained in:
Roland Kuhn 2016-01-17 15:48:52 +01:00
parent 1ef35d907f
commit 3140e72265
57 changed files with 67 additions and 67 deletions

View file

@ -170,7 +170,7 @@ class LoggerSpec extends WordSpec with Matchers {
out.size should be > (0)
}
"drain logger queue on system shutdown" in {
"drain logger queue on system.terminate" in {
val out = new java.io.ByteArrayOutputStream()
Console.withOut(out) {
val sys = ActorSystem("defaultLogger", slowConfig)

View file

@ -402,7 +402,7 @@ class TcpConnectionSpec extends AkkaSpec("""
connectionHandler.expectMsgType[Received].data.decodeString("ASCII") should ===(vs)
}
finally system.shutdown()
finally system.terminate()
}
"close the connection and reply with `Closed` upon reception of a `Close` command" in