From 99d75a4b4195fa65a1415fb574acd6949cf86b19 Mon Sep 17 00:00:00 2001 From: Ignasi Marimon-Clos Date: Mon, 11 May 2020 15:49:34 +0200 Subject: [PATCH] Reviews tests asserting default values --- akka-remote/src/test/scala/akka/remote/RemoteConfigSpec.scala | 3 ++- .../src/test/scala/akka/remote/Ticket1978ConfigSpec.scala | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/akka-remote/src/test/scala/akka/remote/RemoteConfigSpec.scala b/akka-remote/src/test/scala/akka/remote/RemoteConfigSpec.scala index 65fe6e2f23..321ba259a7 100644 --- a/akka-remote/src/test/scala/akka/remote/RemoteConfigSpec.scala +++ b/akka-remote/src/test/scala/akka/remote/RemoteConfigSpec.scala @@ -130,7 +130,8 @@ class RemoteConfigSpec extends AkkaSpec(""" sslSettings.SSLTrustStore should ===("truststore") sslSettings.SSLTrustStorePassword should ===("changeme") sslSettings.SSLProtocol should ===("TLSv1.2") - sslSettings.SSLEnabledAlgorithms should ===(Set("TLS_RSA_WITH_AES_128_CBC_SHA")) + sslSettings.SSLEnabledAlgorithms should ===( + Set("TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384")) sslSettings.SSLRandomNumberGenerator should ===("") } diff --git a/akka-remote/src/test/scala/akka/remote/Ticket1978ConfigSpec.scala b/akka-remote/src/test/scala/akka/remote/Ticket1978ConfigSpec.scala index b9c3dde0f2..e2114219e2 100644 --- a/akka-remote/src/test/scala/akka/remote/Ticket1978ConfigSpec.scala +++ b/akka-remote/src/test/scala/akka/remote/Ticket1978ConfigSpec.scala @@ -23,7 +23,8 @@ class Ticket1978ConfigSpec extends AkkaSpec(""" settings.SSLTrustStore should ===("truststore") settings.SSLTrustStorePassword should ===("changeme") settings.SSLProtocol should ===("TLSv1.2") - settings.SSLEnabledAlgorithms should ===(Set("TLS_RSA_WITH_AES_128_CBC_SHA")) + settings.SSLEnabledAlgorithms should ===( + Set("TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384")) settings.SSLRandomNumberGenerator should ===("SecureRandom") } }