Bind failures are now explicitly reported instead of swallowed
This commit is contained in:
parent
116dcc0e54
commit
6f0d0911a9
12 changed files with 63 additions and 58 deletions
|
|
@ -573,7 +573,7 @@ class TcpConnectionSpec extends AkkaSpec("akka.io.tcp.register-timeout = 500ms")
|
|||
commander: ActorRef): TestActorRef[TcpOutgoingConnection] = {
|
||||
|
||||
TestActorRef(
|
||||
new TcpOutgoingConnection(Tcp(system), commander, serverAddress, localAddress, options) {
|
||||
new TcpOutgoingConnection(Tcp(system), commander, Connect(serverAddress, localAddress, options)) {
|
||||
override def postRestart(reason: Throwable) {
|
||||
// ensure we never restart
|
||||
context.stop(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue