X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FAbstractTest.java;h=e57ae8fcedf4fd449c2027dd5740d1b022b51523;hp=790c5c7ea05fab0c18586e72857e3466123c630c;hb=refs%2Fchanges%2F22%2F65622%2F11;hpb=cc7d70b6fa32b99e1013c3b3c26006d9798d2b95 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTest.java index 790c5c7ea0..e57ae8fced 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTest.java @@ -8,7 +8,7 @@ package org.opendaylight.controller.cluster.datastore; import akka.actor.ActorSystem; -import akka.testkit.JavaTestKit; +import akka.testkit.javadsl.TestKit; import com.typesafe.config.ConfigFactory; import java.util.ArrayList; import java.util.Collection; @@ -61,11 +61,11 @@ public abstract class AbstractTest { @After public void actorSystemCleanup() { for (final ActorSystem system : actorSystems) { - JavaTestKit.shutdownActorSystem(system, null, Boolean.TRUE); + TestKit.shutdownActorSystem(system, Boolean.TRUE); } } - protected ActorSystem newActorSystem(String name, String config) { + protected ActorSystem newActorSystem(final String name, final String config) { ActorSystem system = ActorSystem.create(name, ConfigFactory.load().getConfig(config)); actorSystems.add(system); return system;