Bug 8152: Transaction is already opened
[netconf.git] / netconf / netconf-topology-singleton / src / test / java / org / opendaylight / netconf / topology / singleton / impl / NetconfTopologyManagerTest.java
index 9a3749c14e4e59dc225a25d581150e105c45c9d5..99ef75f2a4a488b304269a0c1a061bf09b1d8a17 100644 (file)
@@ -86,8 +86,9 @@ public class NetconfTopologyManagerTest {
 
         netconfTopologyManager = new NetconfTopologyManager(dataBroker, rpcProviderRegistry,
                 clusterSingletonServiceProvider, bindingAwareBroker, keepaliveExecutor, processingExecutor, domBroker,
-                actorSystemProvider, eventExecutor, clientDispatcher, topologyId);
+                actorSystemProvider, eventExecutor, clientDispatcher, topologyId, 0);
     }
+
     @Test
     public void testWriteConfiguration() throws Exception {
 
@@ -131,6 +132,7 @@ public class NetconfTopologyManagerTest {
                 .setBetweenAttemptsTimeoutMillis(100)
                 .setSchemaless(false)
                 .setTcpOnly(false)
+                .setActorResponseWaitTime(10)
                 .build();
         final Node node = new NodeBuilder().setNodeId(new NodeId("node-id"))
                 .addAugmentation(NetconfNode.class, netconfNode).build();
@@ -251,7 +253,7 @@ public class NetconfTopologyManagerTest {
         private final DataTreeIdentifier<Node> rootPath;
         private final DataObjectModification<Node> rootNode;
 
-        CustomTreeModification(DataTreeIdentifier<Node> rootPath, DataObjectModification<Node> rootNode) {
+        CustomTreeModification(final DataTreeIdentifier<Node> rootPath, final DataObjectModification<Node> rootNode) {
             this.rootPath = rootPath;
             this.rootNode = rootNode;
         }