X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pce%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fpce%2FPceManyTests.java;h=c531c69b3d626a1d5061620df082c48bd18524f0;hb=e9ff01802d87203416f6af280c0590c22ed75538;hp=5575e4722c87e67e396047bfc77a05b4240ae7a5;hpb=e6e13c5ba1221d74154c089ec95cd631950f1ef4;p=transportpce.git diff --git a/pce/src/test/java/org/opendaylight/transportpce/pce/PceManyTests.java b/pce/src/test/java/org/opendaylight/transportpce/pce/PceManyTests.java index 5575e4722..c531c69b3 100644 --- a/pce/src/test/java/org/opendaylight/transportpce/pce/PceManyTests.java +++ b/pce/src/test/java/org/opendaylight/transportpce/pce/PceManyTests.java @@ -23,8 +23,8 @@ import org.opendaylight.transportpce.pce.utils.PceTestUtils; import org.opendaylight.transportpce.renderer.NetworkModelWavelengthService; import org.opendaylight.transportpce.renderer.NetworkModelWavelengthServiceImpl; import org.opendaylight.transportpce.test.AbstractTest; -import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev170426.PathComputationRequestInput; -import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev170426.PathComputationRequestOutput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.PathComputationRequestInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.PathComputationRequestOutput; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -77,12 +77,12 @@ public class PceManyTests extends AbstractTest { PathComputationService pathComputationService = new PathComputationServiceImpl(getDataBroker(), notificationPublishService); - PathComputationRequestOutput output = pathComputationService.pathComputationRequest(input); + PathComputationRequestOutput output = pathComputationService.pathComputationRequest(input).get(); PceTestUtils.checkConfigurationResponse(output, expectedOutput); if (ResponseCodes.RESPONSE_OK.equals(output.getConfigurationResponseCommon().getResponseCode())) { - networkModelWavelengthService.useWavelengths(output.getResponseParameters().getPathDescription()); + //networkModelWavelengthService.useWavelengths(output.getResponseParameters().getPathDescription()); PceTestUtils.checkCalculatedPath(output, expectedOutput); } }