Some old netty config paths in tests fixed (#27159)
This commit is contained in:
parent
be67fb2ce5
commit
44043447d1
3 changed files with 5 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ public class AccountExampleTest extends JUnitSuite {
|
|||
public static final Config config =
|
||||
ConfigFactory.parseString(
|
||||
"akka.actor.provider = cluster \n"
|
||||
+ "akka.remote.netty.tcp.port = 0 \n"
|
||||
+ "akka.remote.classic.netty.tcp.port = 0 \n"
|
||||
+ "akka.remote.artery.canonical.port = 0 \n"
|
||||
+ "akka.remote.artery.canonical.hostname = 127.0.0.1 \n"
|
||||
+ "akka.persistence.journal.plugin = \"akka.persistence.journal.inmem\" \n");
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ object AccountExampleSpec {
|
|||
val config = ConfigFactory.parseString("""
|
||||
akka.actor.provider = cluster
|
||||
|
||||
akka.remote.netty.tcp.port = 0
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
akka.remote.artery.canonical.hostname = 127.0.0.1
|
||||
|
||||
|
|
|
|||
|
|
@ -60,13 +60,13 @@ object UntrustedSpec {
|
|||
}
|
||||
|
||||
class UntrustedSpec extends AkkaSpec("""
|
||||
akka.loglevel = DEBUG
|
||||
akka.loglevel = DEBUG
|
||||
akka.actor.provider = remote
|
||||
akka.remote.artery.enabled = off
|
||||
akka.remote.warn-about-direct-use = off
|
||||
akka.remote.classic.untrusted-mode = on
|
||||
akka.remote.classic.trusted-selection-paths = ["/user/receptionist", ]
|
||||
akka.remote.netty.tcp.port = 0
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
akka.loglevel = DEBUG # test verifies debug
|
||||
""") with ImplicitSender {
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ akka.loglevel = DEBUG # test verifies debug
|
|||
val client = ActorSystem(
|
||||
"UntrustedSpec-client",
|
||||
ConfigFactory.parseString("""
|
||||
akka.loglevel = DEBUG
|
||||
akka.loglevel = DEBUG
|
||||
akka.actor.provider = remote
|
||||
akka.remote.artery.enabled = off
|
||||
akka.remote.warn-about-direct-use = off
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue