Reduce unwanted logging from remoting, see #2826
* Handle logging in EndpointManager supervisorStrategy * Added some more exception types to be able to differentiate failures
This commit is contained in:
parent
f4d59383d7
commit
a67fa18f8d
4 changed files with 49 additions and 24 deletions
|
|
@ -137,9 +137,10 @@ class RemotingSpec extends AkkaSpec(RemotingSpec.cfg) with ImplicitSender with D
|
|||
}
|
||||
|
||||
"send error message for wrong address" in {
|
||||
filterEvents(EventFilter[EndpointException](occurrences = 6), EventFilter.error(start = "Association", occurrences = 6)) {
|
||||
system.actorFor("akka.test://nonexistingsystem@localhost:12346/user/echo") ! "ping"
|
||||
}
|
||||
filterEvents(EventFilter.error(start = "Association", occurrences = 6),
|
||||
EventFilter.warning(pattern = ".*dead letter.*echo.*", occurrences = 1)) {
|
||||
system.actorFor("akka.test://nonexistingsystem@localhost:12346/user/echo") ! "ping"
|
||||
}
|
||||
}
|
||||
|
||||
"support ask" in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue