X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=netconf%2Fnetconf-topology-singleton%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Ftopology%2Fsingleton%2Fimpl%2Factors%2FWriteTransactionActorTest.java;h=e21ec46e9c6cbb7dc9f6c5641729426a79729aaa;hb=45cfee1861924b4a8086d38079ce8cbd320386d6;hp=cd2b9829142bc96d15a44bbb1066eb1a81d12262;hpb=2d700ef3c343e50f12cfeccc7fb755541deee361;p=netconf.git diff --git a/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/actors/WriteTransactionActorTest.java b/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/actors/WriteTransactionActorTest.java index cd2b982914..e21ec46e9c 100644 --- a/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/actors/WriteTransactionActorTest.java +++ b/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/actors/WriteTransactionActorTest.java @@ -65,7 +65,7 @@ public class WriteTransactionActorTest { system = ActorSystem.apply(); probe = TestProbe.apply(system); node = Builders.containerBuilder() - .withNodeIdentifier(new YangInstanceIdentifier.NodeIdentifier(QName.create("cont"))) + .withNodeIdentifier(new YangInstanceIdentifier.NodeIdentifier(QName.create("", "cont"))) .build(); actorRef = TestActorRef.create(system, WriteTransactionActor.props(deviceWriteTx, Duration.apply(2, TimeUnit.SECONDS)), "testA"); @@ -130,10 +130,10 @@ public class WriteTransactionActorTest { @Test public void testIdleTimeout() throws Exception { - final TestProbe probe = new TestProbe(system); - probe.watch(actorRef); + final TestProbe testProbe = new TestProbe(system); + testProbe.watch(actorRef); verify(deviceWriteTx, timeout(3000)).cancel(); - probe.expectTerminated(actorRef, TIMEOUT.duration()); + testProbe.expectTerminated(actorRef, TIMEOUT.duration()); } -} \ No newline at end of file +}