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%2Factors%2Fdds%2FDirectTransactionCommitCohortTest.java;h=24e898a80b0302311fb82f633051962cfffff6ef;hp=9c92afbc0c62b27bd3de43988971b79fd490bb38;hb=df34f194596eed9494f64a691bec244be70c2a5e;hpb=f5fcfe86c7baeea72b81886e01215840fbf1b91b diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/DirectTransactionCommitCohortTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/DirectTransactionCommitCohortTest.java index 9c92afbc0c..24e898a80b 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/DirectTransactionCommitCohortTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/DirectTransactionCommitCohortTest.java @@ -41,7 +41,7 @@ public class DirectTransactionCommitCohortTest { @Mock private AbstractClientHistory history; private ActorSystem system; - private TranasactionTester transaction; + private TransactionTester transaction; private DirectTransactionCommitCohort cohort; @Before @@ -94,9 +94,9 @@ public class DirectTransactionCommitCohortTest { Assert.assertNull(getWithTimeout(commit)); } - private static TranasactionTester createTransactionTester(final TestProbe backendProbe, - final ClientActorContext context, - final AbstractClientHistory history) { + private static TransactionTester createTransactionTester(final TestProbe backendProbe, + final ClientActorContext context, + final AbstractClientHistory history) { final ShardBackendInfo backend = new ShardBackendInfo(backendProbe.ref(), 0L, ABIVersion.BORON, "default", UnsignedLong.ZERO, Optional.empty(), 3); final AbstractClientConnection connection = @@ -104,7 +104,7 @@ public class DirectTransactionCommitCohortTest { final ProxyHistory proxyHistory = ProxyHistory.createClient(history, connection, HISTORY_ID); final RemoteProxyTransaction transaction = new RemoteProxyTransaction(proxyHistory, TRANSACTION_ID, false, false); - return new TranasactionTester(transaction, connection, backendProbe); + return new TransactionTester<>(transaction, connection, backendProbe); } } \ No newline at end of file