Migrate from JavaTestKit to javadsl.TestKit
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / entityownership / AbstractClusterRefEntityOwnershipTest.java
index 13541358adf58c7accfcb61282fa475e5213bf74..c7013e81818887b3ab2f340e80d743fdefbf5d0f 100644 (file)
@@ -9,7 +9,7 @@
 package org.opendaylight.controller.cluster.datastore.entityownership;
 
 import akka.actor.ActorSystem;
-import akka.testkit.JavaTestKit;
+import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.io.IOException;
 import org.junit.AfterClass;
@@ -21,12 +21,12 @@ public class AbstractClusterRefEntityOwnershipTest extends AbstractEntityOwnersh
 
     @BeforeClass
     public static void setUpClass() throws IOException {
-        system = ActorSystem.create("test", ConfigFactory.load().getConfig("test"));
+        system = ActorSystem.create("test", ConfigFactory.load().getConfig("test-config"));
     }
 
     @AfterClass
     public static void tearDownClass() throws IOException {
-        JavaTestKit.shutdownActorSystem(system);
+        TestKit.shutdownActorSystem(system);
         system = null;
     }