This commit is contained in:
parent
ccd2c9aff6
commit
6d4fbfc43d
1 changed files with 4 additions and 1 deletions
|
|
@ -207,11 +207,14 @@ class TlsTcpWithHostnameVerificationSpec
|
||||||
val rootB = RootActorPath(addressB)
|
val rootB = RootActorPath(addressB)
|
||||||
|
|
||||||
systemB.actorOf(TestActors.echoActorProps, "echo")
|
systemB.actorOf(TestActors.echoActorProps, "echo")
|
||||||
|
// The detailed warning message is either 'General SSLEngine problem'
|
||||||
|
// or 'No subject alternative names matching IP address 127.0.0.1 found'
|
||||||
|
// depending on JRE version.
|
||||||
EventFilter
|
EventFilter
|
||||||
.warning(
|
.warning(
|
||||||
pattern =
|
pattern =
|
||||||
"outbound connection to \\[akka://systemB@127.0.0.1:.*" +
|
"outbound connection to \\[akka://systemB@127.0.0.1:.*" +
|
||||||
"Upstream failed, cause: SSLHandshakeException: General SSLEngine problem",
|
"Upstream failed, cause: SSLHandshakeException: .*",
|
||||||
occurrences = 3)
|
occurrences = 3)
|
||||||
.intercept {
|
.intercept {
|
||||||
system.actorSelection(rootB / "user" / "echo") ! Identify("echo")
|
system.actorSelection(rootB / "user" / "echo") ! Identify("echo")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue