X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fremote%2Frpc%2FRpcListenerTest.java;h=8b1892eb2bc552d7350fcb6711d7deb9ead44b02;hb=0f02b7edeb1454c1a568f0f1b050757e7503ddf7;hp=680d55da9d11bb0d97ca51bb5bb6224098ee20d1;hpb=e9fc7e7ed2b13d274518d6a872ab67749ef4507a;p=controller.git diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RpcListenerTest.java b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RpcListenerTest.java index 680d55da9d..8b1892eb2b 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RpcListenerTest.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RpcListenerTest.java @@ -12,13 +12,12 @@ import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.testkit.javadsl.TestKit; import com.typesafe.config.ConfigFactory; -import java.net.URISyntaxException; import java.util.Collections; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; -import org.opendaylight.controller.md.sal.dom.api.DOMRpcIdentifier; import org.opendaylight.controller.remote.rpc.registry.RpcRegistry; +import org.opendaylight.mdsal.dom.api.DOMRpcIdentifier; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.model.api.SchemaPath; @@ -34,7 +33,7 @@ public class RpcListenerTest { @BeforeClass - public static void setup() throws InterruptedException { + public static void setup() { system = ActorSystem.create("opendaylight-rpc", ConfigFactory.load().getConfig("odl-cluster-rpc")); } @@ -45,7 +44,7 @@ public class RpcListenerTest { } @Test - public void testRouteAdd() throws URISyntaxException, InterruptedException { + public void testRouteAdd() { new TestKit(system) { { // Test announcements @@ -60,7 +59,7 @@ public class RpcListenerTest { } @Test - public void testRouteRemove() throws URISyntaxException, InterruptedException { + public void testRouteRemove() { new TestKit(system) { { // Test announcements