Merge pull request #26933 from akka/wip-ClusterSingletonProxySpec-patriknw

more classic remoting leftovers
This commit is contained in:
Patrik Nordwall 2019-05-17 11:07:29 +02:00 committed by GitHub
commit a2658cc8a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 284 additions and 322 deletions

View file

@ -337,7 +337,7 @@ public class ActorDocTest extends AbstractJavaTest {
// #selection-wildcard
// #selection-remote
getContext().actorSelection("akka.tcp://app@otherhost:1234/user/serviceB");
getContext().actorSelection("akka://app@otherhost:1234/user/serviceB");
// #selection-remote
}
}

View file

@ -44,7 +44,7 @@ public class LambdaPersistencePluginDocTest {
class SharedStorageUsage extends AbstractActor {
@Override
public void preStart() throws Exception {
String path = "akka.tcp://example@127.0.0.1:2552/user/store";
String path = "akka://example@127.0.0.1:2552/user/store";
ActorSelection selection = getContext().actorSelection(path);
selection.tell(new Identify(1), getSelf());
}

View file

@ -49,8 +49,8 @@ public class RemoteDeploymentDocTest extends AbstractJavaTest {
@Test
public void demonstrateDeployment() {
// #make-address
Address addr = new Address("akka.tcp", "sys", "host", 1234);
addr = AddressFromURIString.parse("akka.tcp://sys@host:1234"); // the same
Address addr = new Address("akka", "sys", "host", 1234);
addr = AddressFromURIString.parse("akka://sys@host:1234"); // the same
// #make-address
// #deploy
ActorRef ref =

View file

@ -451,8 +451,8 @@ public class RouterDocTest extends AbstractJavaTest {
public void demonstrateRemoteDeploy() {
// #remoteRoutees
Address[] addresses = {
new Address("akka.tcp", "remotesys", "otherhost", 1234),
AddressFromURIString.parse("akka.tcp://othersys@anotherhost:1234")
new Address("akka", "remotesys", "otherhost", 1234),
AddressFromURIString.parse("akka://othersys@anotherhost:1234")
};
ActorRef routerRemote =
system.actorOf(