Fixed wrongly configured retry-gate to avoid test-interference and reduce logs

This commit is contained in:
Endre Sándor Varga 2013-04-09 13:07:39 +02:00
parent 3ee42dbe11
commit 8dda02b694

View file

@ -75,7 +75,7 @@ object RemotingSpec {
remote {
transport = "akka.remote.Remoting"
retry-latch-closed-for = 1 s
retry-gate-closed-for = 1 s
log-remote-lifecycle-events = on
enabled-transports = [
@ -205,7 +205,7 @@ class RemotingSpec extends AkkaSpec(RemotingSpec.cfg) with ImplicitSender with D
}
"send error message for wrong address" in {
filterEvents(EventFilter.error(start = "Association", occurrences = 6),
filterEvents(EventFilter.error(start = "AssociationError", occurrences = 1),
EventFilter.warning(pattern = ".*dead letter.*echo.*", occurrences = 1)) {
system.actorFor("akka.test://nonexistingsystem@localhost:12346/user/echo") ! "ping"
}