X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatabroker%2FClientBackedDataStoreTest.java;h=d7d774d699b3d791d59fd8d17b3d484e90feaa6d;hp=bf107514809355dbcb2cff65384b083178fe3781;hb=c11dae56ca449d754db98fb8de194594c84d1f24;hpb=e46f5ca6e44904d9dd0b69fb8a36ebf69a293496 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java index bf10751480..d7d774d699 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java @@ -78,7 +78,7 @@ public class ClientBackedDataStoreTest { @Test public void testCreateTransactionChain() throws Exception { - try (final ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( + try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreTransactionChain txChain = clientBackedDataStore.createTransactionChain(); Assert.assertNotNull(txChain); @@ -88,7 +88,7 @@ public class ClientBackedDataStoreTest { @Test public void testNewReadOnlyTransaction() throws Exception { - try (final ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( + try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreReadTransaction tx = clientBackedDataStore.newReadOnlyTransaction(); Assert.assertNotNull(tx); @@ -98,7 +98,7 @@ public class ClientBackedDataStoreTest { @Test public void testNewWriteOnlyTransaction() throws Exception { - try (final ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( + try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreWriteTransaction tx = clientBackedDataStore.newWriteOnlyTransaction(); Assert.assertNotNull(tx); @@ -108,11 +108,11 @@ public class ClientBackedDataStoreTest { @Test public void testNewReadWriteTransaction() throws Exception { - try (final ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( + try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreReadWriteTransaction tx = clientBackedDataStore.newReadWriteTransaction(); Assert.assertNotNull(tx); Mockito.verify(clientActor, Mockito.times(1)).createTransaction(); } } -} \ No newline at end of file +}