Bump odlparent/yangtools/mdsal
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / RootDataTreeChangeListenerProxyTest.java
index 7fea757d3982fa10a8d9b736763e3d9df88eb554..789e922939a62766c74446f5a3ac2b9e95944b0d 100644 (file)
@@ -14,7 +14,7 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
+import akka.actor.ActorSelection;
 import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableList;
 import java.time.Duration;
@@ -77,7 +77,7 @@ public class RootDataTreeChangeListenerProxyTest extends AbstractActorTest {
         assertEquals(registerForShard1.getListenerActorPath(), registerForShard2.getListenerActorPath());
 
         final TestKit kit2 = new TestKit(getSystem());
-        final ActorRef rootListenerActor = getSystem().actorFor(registerForShard1.getListenerActorPath());
+        final ActorSelection rootListenerActor = getSystem().actorSelection(registerForShard1.getListenerActorPath());
         rootListenerActor.tell(new EnableNotification(true, "test"), kit.getRef());
         final DataTreeCandidate peopleCandidate = DataTreeCandidates.fromNormalizedNode(YangInstanceIdentifier.empty(),
             PeopleModel.create());