#3093 - removing the temporal constraints on TcpConnectionSpec

This commit is contained in:
Viktor Klang 2013-02-25 15:44:38 +01:00
parent eb057743d7
commit aa16bfaa66

View file

@ -501,8 +501,8 @@ class TcpConnectionSpec extends AkkaSpec("akka.io.tcp.register-timeout = 500ms")
watch(connectionActor) watch(connectionActor)
EventFilter[DeathPactException](occurrences = 1) intercept { EventFilter[DeathPactException](occurrences = 1) intercept {
system.stop(connectionHandler.ref) system.stop(connectionHandler.ref)
expectMsgType[Terminated].actor must be(connectionHandler.ref) val deaths = Set(expectMsgType[Terminated].actor, expectMsgType[Terminated].actor)
expectMsgType[Terminated].actor must be(connectionActor) deaths must be(Set(connectionHandler.ref, connectionActor))
} }
} }
} }