X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fremote%2Frpc%2Fregistry%2FRpcRegistryTest.java;fp=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fremote%2Frpc%2Fregistry%2FRpcRegistryTest.java;h=d552ad5f1294ff6164618b0cb7c37d0d8c4ce241;hb=1d0370feb32b84119bf4c570b9e6e9abbe8d9511;hp=4ae6e1e57f82c35486a4e58f829cee955d6891be;hpb=c355a5b632433b9d2a54107d24e644e68610f270;p=controller.git diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistryTest.java b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistryTest.java index 4ae6e1e57f..d552ad5f12 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistryTest.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistryTest.java @@ -52,7 +52,6 @@ import org.opendaylight.controller.remote.rpc.registry.RpcRegistry.RemoteRpcEndp import org.opendaylight.controller.remote.rpc.registry.gossip.Bucket; import org.opendaylight.mdsal.dom.api.DOMRpcIdentifier; import org.opendaylight.yangtools.yang.common.QName; -import org.opendaylight.yangtools.yang.model.api.SchemaPath; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -370,8 +369,7 @@ public class RpcRegistryTest { final int nRoutes = 500; final Collection added = new ArrayList<>(nRoutes); for (int i = 0; i < nRoutes; i++) { - final DOMRpcIdentifier routeId = DOMRpcIdentifier.create(SchemaPath.create(true, - QName.create(URI.create("/mockrpc"), "type" + i))); + final DOMRpcIdentifier routeId = DOMRpcIdentifier.create(QName.create(URI.create("/mockrpc"), "type" + i)); added.add(routeId); //Uninterruptibles.sleepUninterruptibly(50, TimeUnit.MILLISECONDS); @@ -406,7 +404,7 @@ public class RpcRegistryTest { private List createRouteIds() { QName type = QName.create(URI.create("/mockrpc"), "mockrpc" + routeIdCounter++); List routeIds = new ArrayList<>(1); - routeIds.add(DOMRpcIdentifier.create(SchemaPath.create(true, type))); + routeIds.add(DOMRpcIdentifier.create(type)); return routeIds; } }