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-7965 Switch distributed-data backend to a separate shard
[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 214b3e9d3d989d73d0cd618db937a0fa6bcfdcb6..851bec63461bdca9dac96df2727be0b95326ccaa 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,26
+10,26
@@
package org.opendaylight.controller.cluster.datastore;
import akka.actor.ActorSystem;
import akka.testkit.JavaTestKit;
import akka.actor.ActorSystem;
import akka.testkit.JavaTestKit;
+import java.io.IOException;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.AfterClass;
import org.junit.BeforeClass;
-public abstract class AbstractActorTest {
+public abstract class AbstractActorTest
extends AbstractTest
{
private static ActorSystem system;
@BeforeClass
private static ActorSystem system;
@BeforeClass
- public static void setUpClass() {
+ public static void setUpClass()
throws IOException
{
System.setProperty("shard.persistent", "false");
system = ActorSystem.create("test");
}
@AfterClass
System.setProperty("shard.persistent", "false");
system = ActorSystem.create("test");
}
@AfterClass
- public static void tearDownClass() {
+ public static void tearDownClass()
throws IOException
{
JavaTestKit.shutdownActorSystem(system);
system = null;
}
JavaTestKit.shutdownActorSystem(system);
system = null;
}
- protected ActorSystem getSystem() {
+ protected
static
ActorSystem getSystem() {
return system;
}
return system;
}
-
}
}