X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pce%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fpce%2Fservice%2FPathComputationServiceImplTest.java;h=4408d094ed0e3ff4f726888a2ba29f067a1e55b6;hb=2627d1efc45aaf7d30dc6b9b33a2e5a22728a531;hp=66ae13a72a91f84fa84844b8ed9b6a00b0698ebb;hpb=5528970e6cb5c6d049e4412059f6c4996edaa2e7;p=transportpce.git diff --git a/pce/src/test/java/org/opendaylight/transportpce/pce/service/PathComputationServiceImplTest.java b/pce/src/test/java/org/opendaylight/transportpce/pce/service/PathComputationServiceImplTest.java index 66ae13a72..4408d094e 100644 --- a/pce/src/test/java/org/opendaylight/transportpce/pce/service/PathComputationServiceImplTest.java +++ b/pce/src/test/java/org/opendaylight/transportpce/pce/service/PathComputationServiceImplTest.java @@ -10,7 +10,6 @@ package org.opendaylight.transportpce.pce.service; import static org.junit.jupiter.api.Assertions.assertNotNull; import java.util.Map; -import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; @@ -40,7 +39,6 @@ public class PathComputationServiceImplTest extends AbstractTest { pathComputationServiceImpl = new PathComputationServiceImpl( networkTransactionService, this.getNotificationPublishService(), null, null); - pathComputationServiceImpl.init(); } @Test @@ -79,9 +77,4 @@ public class PathComputationServiceImplTest extends AbstractTest { pathComputationServiceImpl.generateGnpyResponse(null,"path"); assertNotNull(pathComputationServiceImpl.pathComputationRerouteRequest(PceTestData.getPCEReroute())); } - - @AfterEach - void destroy() { - pathComputationServiceImpl.close(); - } }