more classic remoting leftovers
* fix several tests that were using akka.remote.netty.tcp config * replace akka.tcp with akka in more places * some doc cross references to remoting.md
This commit is contained in:
parent
18a3569a7e
commit
71e9bdc262
73 changed files with 284 additions and 322 deletions
|
|
@ -29,7 +29,7 @@ class RemoteDeploymentDocSpec extends AkkaSpec("""
|
|||
|
||||
val other = ActorSystem("remote", system.settings.config)
|
||||
val address =
|
||||
other.asInstanceOf[ExtendedActorSystem].provider.getExternalAddressFor(Address("akka.tcp", "s", "host", 1)).get
|
||||
other.asInstanceOf[ExtendedActorSystem].provider.getExternalAddressFor(Address("akka", "s", "host", 1)).get
|
||||
|
||||
override def afterTermination(): Unit = { shutdown(other) }
|
||||
|
||||
|
|
@ -51,8 +51,8 @@ class RemoteDeploymentDocSpec extends AkkaSpec("""
|
|||
|
||||
"demonstrate address extractor" in {
|
||||
//#make-address
|
||||
val one = AddressFromURIString("akka.tcp://sys@host:1234")
|
||||
val two = Address("akka.tcp", "sys", "host", 1234) // this gives the same
|
||||
val one = AddressFromURIString("akka://sys@host:1234")
|
||||
val two = Address("akka", "sys", "host", 1234) // this gives the same
|
||||
//#make-address
|
||||
one should be(two)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue