Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG 2412 - restconf @GET getModule(identifier,uri) method migration
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
AbstractActorTest.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractActorTest.java
b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractActorTest.java
index e23a76b0b223ee2b8ee0d5398da878cd520caf65..fae21f27091a2382f3e1feabf7a3c26ce7004ba5 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractActorTest.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractActorTest.java
@@
-10,11
+10,10
@@
package org.opendaylight.controller.cluster.datastore;
import akka.actor.ActorSystem;
import akka.testkit.JavaTestKit;
import akka.actor.ActorSystem;
import akka.testkit.JavaTestKit;
-import org.apache.commons.io.FileUtils;
+
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.AfterClass;
import org.junit.BeforeClass;
-import java.io.File;
import java.io.IOException;
public abstract class AbstractActorTest {
import java.io.IOException;
public abstract class AbstractActorTest {
@@
-22,11
+21,6
@@
public abstract class AbstractActorTest {
@BeforeClass
public static void setUpClass() throws IOException {
@BeforeClass
public static void setUpClass() throws IOException {
- File journal = new File("journal");
-
- if(journal.exists()) {
- FileUtils.deleteDirectory(journal);
- }
System.setProperty("shard.persistent", "false");
system = ActorSystem.create("test");
System.setProperty("shard.persistent", "false");
system = ActorSystem.create("test");
@@
-36,16
+30,9
@@
public abstract class AbstractActorTest {
public static void tearDownClass() throws IOException {
JavaTestKit.shutdownActorSystem(system);
system = null;
public static void tearDownClass() throws IOException {
JavaTestKit.shutdownActorSystem(system);
system = null;
-
- File journal = new File("journal");
-
- if(journal.exists()) {
- FileUtils.deleteDirectory(journal);
- }
}
protected ActorSystem getSystem() {
return system;
}
}
protected ActorSystem getSystem() {
return system;
}
-
}
}