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%2FAbstractClusterRefActorTest.java;h=95b4499a7b9536f9e2d00068f516dd06fe24d2d9;hb=afe114674227071a2598dd3a3f6589a99573e075;hp=a9f7593f153e5246b02630c506908df3013fae0d;hpb=e9fc7e7ed2b13d274518d6a872ab67749ef4507a;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractClusterRefActorTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractClusterRefActorTest.java index a9f7593f15..95b4499a7b 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractClusterRefActorTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractClusterRefActorTest.java @@ -11,7 +11,6 @@ package org.opendaylight.controller.cluster.datastore; import akka.actor.ActorSystem; import akka.testkit.javadsl.TestKit; import com.typesafe.config.ConfigFactory; -import java.io.IOException; import org.junit.AfterClass; import org.junit.BeforeClass; @@ -19,14 +18,14 @@ public abstract class AbstractClusterRefActorTest extends AbstractTest { private static ActorSystem system; @BeforeClass - public static void setUpClass() throws IOException { + public static void setUpClass() { System.setProperty("shard.persistent", "false"); system = ActorSystem.create("test", ConfigFactory.load().getConfig("test-config")); } @AfterClass - public static void tearDownClass() throws IOException { - TestKit.shutdownActorSystem(system, Boolean.TRUE); + public static void tearDownClass() { + TestKit.shutdownActorSystem(system, true); system = null; }