X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDistributedDataStoreTest.java;h=cb473cb9360e03656ea83d0212ef18b70237a92e;hp=406f0ffd9e6383953554d400d31e3b19496bc7c2;hb=351a78c9840c5b98a478b91ffd50befad998eb0e;hpb=961b5b9260565194a863a25bd697f171ec2405af diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreTest.java index 406f0ffd9e..cb473cb936 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreTest.java @@ -3,6 +3,7 @@ package org.opendaylight.controller.cluster.datastore; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -63,12 +64,14 @@ public class DistributedDataStoreTest extends AbstractActorTest{ } + @SuppressWarnings("resource") @Test public void testConstructor(){ ActorSystem actorSystem = mock(ActorSystem.class); new DistributedDataStore(actorSystem, "config", - mock(ClusterWrapper.class), mock(Configuration.class)); + mock(ClusterWrapper.class), mock(Configuration.class), + new DistributedDataStoreProperties()); verify(actorSystem).actorOf(any(Props.class), eq("shardmanager-config")); }