2 * Copyright (c) 2019 Pantheon Technologies, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.akka.segjournal;
10 import akka.persistence.japi.journal.JavaJournalSpec;
11 import com.typesafe.config.ConfigFactory;
13 import org.apache.commons.io.FileUtils;
14 import org.junit.runner.RunWith;
15 import org.scalatestplus.junit.JUnitRunner;
17 @RunWith(JUnitRunner.class)
18 public class SegmentedFileJournalSpecTest extends JavaJournalSpec {
19 private static final long serialVersionUID = 1L;
21 private static final File JOURNAL_DIR = new File("target/segmented-journal");
23 public SegmentedFileJournalSpecTest() {
24 super(ConfigFactory.load("SegmentedFileJournalTest.conf"));
28 public void beforeAll() {
29 FileUtils.deleteQuietly(JOURNAL_DIR);