X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDataChangeListenerRegistrationProxyTest.java;h=b5567fa1d59b247d2f28c4804989e0c6b95a495b;hb=4f1f2ae598588f6aa5aac59b2206d97ad402a193;hp=aa95e78d888ca1dfc7c0a0b699bfa26bfbea76dd;hpb=d594cf3be29ab746695eb5a3b0d220be89b57566;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxyTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxyTest.java index aa95e78d88..b5567fa1d5 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxyTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxyTest.java @@ -38,7 +38,7 @@ import org.opendaylight.controller.cluster.datastore.messages.RegisterChangeList import org.opendaylight.controller.cluster.datastore.messages.RegisterChangeListenerReply; import org.opendaylight.controller.cluster.datastore.utils.ActorContext; import org.opendaylight.controller.cluster.datastore.utils.Dispatchers; -import org.opendaylight.controller.cluster.datastore.utils.DoNothingActor; +import org.opendaylight.controller.cluster.raft.utils.DoNothingActor; import org.opendaylight.controller.md.cluster.datastore.model.TestModel; import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker; import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker.DataChangeScope; @@ -113,7 +113,7 @@ public class DataChangeListenerRegistrationProxyTest extends AbstractActorTest { proxy.close(); // The listener registration actor should get a Close message - expectMsgClass(timeout, CloseDataChangeListenerRegistration.SERIALIZABLE_CLASS); + expectMsgClass(timeout, CloseDataChangeListenerRegistration.class); // The DataChangeListener actor should be terminated expectMsgClass(timeout, Terminated.class); @@ -171,7 +171,7 @@ public class DataChangeListenerRegistrationProxyTest extends AbstractActorTest { proxy.close(); // The listener registration actor should get a Close message - expectMsgClass(timeout, CloseDataChangeListenerRegistration.SERIALIZABLE_CLASS); + expectMsgClass(timeout, CloseDataChangeListenerRegistration.class); // The DataChangeListener actor should be terminated expectMsgClass(timeout, Terminated.class); @@ -313,7 +313,7 @@ public class DataChangeListenerRegistrationProxyTest extends AbstractActorTest { proxy.init(YangInstanceIdentifier.of(TestModel.TEST_QNAME), AsyncDataBroker.DataChangeScope.ONE); - expectMsgClass(duration("5 seconds"), CloseDataChangeListenerRegistration.SERIALIZABLE_CLASS); + expectMsgClass(duration("5 seconds"), CloseDataChangeListenerRegistration.class); Assert.assertEquals("getListenerRegistrationActor", null, proxy.getListenerRegistrationActor());