Cleanup, small fixes and more and better tests

This commit is contained in:
Mathias 2013-01-22 13:48:36 +01:00
parent ba922fa2d7
commit 79accb810e
10 changed files with 127 additions and 116 deletions

View file

@ -21,7 +21,7 @@ import TestUtils._
import Tcp._
class TcpConnectionSpec extends AkkaSpec("akka.io.tcp.register-timeout = 500ms") {
val serverAddress = TemporaryServerAddress()
val serverAddress = temporaryServerAddress()
"An outgoing connection" must {
// common behavior
@ -265,7 +265,7 @@ class TcpConnectionSpec extends AkkaSpec("akka.io.tcp.register-timeout = 500ms")
verifyActorTermination(connectionActor)
}
val UnboundAddress = TemporaryServerAddress()
val UnboundAddress = temporaryServerAddress()
"report failed connection attempt when target is unreachable" in
withUnacceptedConnection(connectionActorCons = createConnectionActor(serverAddress = UnboundAddress)) { setup
import setup._