Bump odlparent dependency to 2.0.0
[bgpcep.git] / pcep / topology-provider / src / test / java / org / opendaylight / bgpcep / pcep / topology / provider / PCEPStatefulPeerProposalTest.java
index 091b2c53fcf8c020a7b239a9fbecb7363771db58..281595fe142f2b4f029db8afd95b5168cab38c99 100644 (file)
@@ -70,7 +70,7 @@ public class PCEPStatefulPeerProposalTest {
         doNothing().when(this.rTxMock).close();
         doReturn(this.listenableFutureMock).when(this.rTxMock)
                 .read(any(LogicalDatastoreType.class), any(InstanceIdentifier.class));
-
+        doReturn(true).when(this.listenableFutureMock).isDone();
         doAnswer(invocation -> {
             final Runnable runnable = (Runnable) invocation.getArguments()[0];
             runnable.run();