Service-notification handling for PCE
[transportpce.git] / pce / src / test / java / org / opendaylight / transportpce / pce / PceSingleTests.java
index bcf40e3860e3a36368196bbbe7f0db8e4a1f8932..82a8bd0d2951f2a5dd65ec68a2ff630abf4ac779 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.transportpce.pce;
 
 import java.util.Arrays;
 import java.util.Collection;
+
 import org.junit.Assert;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -85,7 +86,7 @@ public class PceSingleTests extends AbstractTest {
 
         PathComputationService pathComputationService =
             new PathComputationServiceImpl(getDataBroker(), this.notificationPublishService);
-        PathComputationRequestOutput output = pathComputationService.pathComputationRequest(this.input);
+        PathComputationRequestOutput output = pathComputationService.pathComputationRequest(this.input).get();
 
         PceTestUtils.checkConfigurationResponse(output, this.expectedOutput);
         if (ResponseCodes.RESPONSE_OK.equals(output.getConfigurationResponseCommon().getResponseCode())) {