fix TlsTcpWithHostnameVerificationSpec when run without tls
This commit is contained in:
parent
39c97c3306
commit
d03f177468
1 changed files with 5 additions and 0 deletions
|
|
@ -159,6 +159,11 @@ class TlsTcpWithHostnameVerificationSpec extends ArteryMultiNodeSpec(
|
|||
|
||||
"Artery with TLS/TCP and hostname-verification=on" must {
|
||||
"reject invalid" in {
|
||||
// this test only makes sense with tls-tcp transport
|
||||
val arterySettings = ArterySettings(system.settings.config.getConfig("akka.remote.artery"))
|
||||
if (!arterySettings.Enabled || arterySettings.Transport != ArterySettings.TlsTcp)
|
||||
pending
|
||||
|
||||
systemB.actorOf(TestActors.echoActorProps, "echo")
|
||||
system.actorSelection(rootB / "user" / "echo") ! Identify("echo")
|
||||
expectNoMessage(2.seconds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue