Modify the FindPrimary implementation so that it works correctly with a configuration
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / utils / MockConfiguration.java
index 470726e56abdc723500b486050cf498f69b0a694..2597dda04c0e475a71bc65ba6fc47a05965d5a87 100644 (file)
@@ -38,4 +38,10 @@ public class MockConfiguration implements Configuration{
         String moduleName) {
         return Collections.EMPTY_LIST;
     }
+
+    @Override public List<String> getMembersFromShardName(String shardName) {
+        List<String> shardNames = new ArrayList<>();
+        shardNames.add("member-1");
+        return shardNames;
+    }
 }