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%2Fshardstrategy%2FShardStrategyFactoryTest.java;h=e7b70e8c1e84171f63328d2050d1ecae86bcbc03;hb=a6af137c30470b86d4bc624d4c48cb686495a182;hp=ed4467df8e055b329cbd59cf34490b8583b538f6;hpb=5273c33b6f2051a7e3b1afcc4eeae4e457b6f26c;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategyFactoryTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategyFactoryTest.java index ed4467df8e..e7b70e8c1e 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategyFactoryTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategyFactoryTest.java @@ -10,6 +10,7 @@ package org.opendaylight.controller.cluster.datastore.shardstrategy; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; + import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -17,6 +18,7 @@ import org.junit.rules.ExpectedException; import org.opendaylight.controller.cluster.datastore.config.ConfigurationImpl; import org.opendaylight.controller.md.cluster.datastore.model.CarsModel; import org.opendaylight.controller.md.cluster.datastore.model.TestModel; +import org.opendaylight.mdsal.common.api.LogicalDatastoreType; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; public class ShardStrategyFactoryTest { @@ -28,7 +30,8 @@ public class ShardStrategyFactoryTest { @Before public void setUp() { - factory = new ShardStrategyFactory(new ConfigurationImpl("module-shards.conf", "modules.conf")); + factory = new ShardStrategyFactory( + new ConfigurationImpl("module-shards.conf", "modules.conf"), LogicalDatastoreType.CONFIGURATION); } @Test @@ -51,5 +54,4 @@ public class ShardStrategyFactoryTest { factory.getStrategy(null); } - }