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%2FDatastoreSnapshotRestoreTest.java;h=30957d9c1c5bc4e663c89b76e1c9d148b20a8112;hb=2f77e92af7a68b4a97dbfb709c6cc9b11a49878a;hp=3feb9067ab24cab152cf66d1055ff19b6b19da73;hpb=5464f50be733df1bbbe31cf05665d542d3b7c5e7;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreSnapshotRestoreTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreSnapshotRestoreTest.java index 3feb9067ab..30957d9c1c 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreSnapshotRestoreTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreSnapshotRestoreTest.java @@ -22,9 +22,9 @@ import java.util.Objects; import org.apache.commons.lang3.SerializationUtils; import org.junit.After; import org.junit.Test; -import org.opendaylight.controller.cluster.datastore.messages.DatastoreSnapshot; -import org.opendaylight.controller.cluster.datastore.messages.DatastoreSnapshot.ShardSnapshot; -import org.opendaylight.controller.cluster.datastore.messages.DatastoreSnapshotList; +import org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshot; +import org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshot.ShardSnapshot; +import org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshotList; /** * Unit tests for DatastoreSnapshotRestore. @@ -49,13 +49,13 @@ public class DatastoreSnapshotRestoreTest { List shardSnapshots = new ArrayList<>(); shardSnapshots.add(new ShardSnapshot("cars", new byte[]{1,2})); shardSnapshots.add(new ShardSnapshot("people", new byte[]{3,4})); - final DatastoreSnapshot configSnapshot = new DatastoreSnapshot("config", null, shardSnapshots ); + final DatastoreSnapshot configSnapshot = new DatastoreSnapshot("config", null, shardSnapshots); shardSnapshots = new ArrayList<>(); shardSnapshots.add(new ShardSnapshot("cars", new byte[]{5,6})); shardSnapshots.add(new ShardSnapshot("people", new byte[]{7,8})); shardSnapshots.add(new ShardSnapshot("bikes", new byte[]{9,0})); - DatastoreSnapshot operSnapshot = new DatastoreSnapshot("oper", null, shardSnapshots ); + DatastoreSnapshot operSnapshot = new DatastoreSnapshot("oper", null, shardSnapshots); DatastoreSnapshotList snapshotList = new DatastoreSnapshotList(); snapshotList.add(configSnapshot);