Merge "BUG-1690: catch wildcard InstanceIdentifiers"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / BasicIntegrationTest.java
index e70453f2d629857dd92ef24b919395af91c9b742..50367e66ce3b759325d20228a63d0f7c2eeaab5d 100644 (file)
@@ -62,9 +62,9 @@ public class BasicIntegrationTest extends AbstractActorTest {
                     .shardName("inventory").type("config").build();
 
             final SchemaContext schemaContext = TestModel.createTestContext();
-            ShardContext shardContext = new ShardContext();
+            DatastoreContext datastoreContext = new DatastoreContext();
 
-            final Props props = Shard.props(identifier, Collections.EMPTY_MAP, shardContext);
+            final Props props = Shard.props(identifier, Collections.EMPTY_MAP, datastoreContext, TestModel.createTestContext());
             final ActorRef shard = getSystem().actorOf(props);
 
             new Within(duration("10 seconds")) {