import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
import org.opendaylight.controller.cluster.datastore.modification.MutableCompositeModification;
import org.opendaylight.controller.cluster.datastore.modification.WriteModification;
+import org.opendaylight.controller.cluster.raft.TestActorFactory;
import org.opendaylight.controller.cluster.raft.utils.InMemoryJournal;
import org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore;
import org.opendaylight.controller.md.cluster.datastore.model.TestModel;
shardJournalRecoveryLogBatchSize(3).shardSnapshotBatchCount(5000).
shardHeartbeatIntervalInMillis(100);
+ protected final TestActorFactory actorFactory = new TestActorFactory(getSystem());
+
@Before
public void setUp() {
InMemorySnapshotStore.clear();
public void tearDown() {
InMemorySnapshotStore.clear();
InMemoryJournal.clear();
+ actorFactory.close();
}
protected DatastoreContext newDatastoreContext() {