BUG-2138: Create DistributedShardFrontend
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / shardstrategy / ShardStrategyFactoryTest.java
index 76cb7334fab2b9935032e83967f4bfc1e54bf43b..e7b70e8c1e84171f63328d2050d1ecae86bcbc03 100644 (file)
@@ -18,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 {
@@ -29,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