From: Robert Varga Date: Mon, 3 Apr 2023 14:59:40 +0000 (+0200) Subject: Fix DistributedDataStoreRemotingIntegrationTest typos X-Git-Tag: v7.0.5~22 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=1c7ddb7ffc8a78636c731ca589945636f28007a2;hp=ef9927802a079c374db971f94b33b030fd355943;p=controller.git Fix DistributedDataStoreRemotingIntegrationTest typos We have a few typos in comments, fix them up. Change-Id: I574849a397f6dea62e928026609c8a191451d701 Signed-off-by: Šimon Ukuš Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java index 1cdca5aae0..4795cb2ae4 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java @@ -937,9 +937,8 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest { final DOMStoreThreePhaseCommitCohort writeTx2Cohort = writeTx2.ready(); // Prepare another WO that writes to a single shard and thus will be directly committed on ready. This - // tx writes 5 cars so 2 BatchedModidifications messages will be sent initially and cached in the - // leader shard (with shardBatchedModificationCount set to 2). The 3rd BatchedModidifications will be - // sent on ready. + // tx writes 5 cars so 2 BatchedModifications messages will be sent initially and cached in the leader shard + // (with shardBatchedModificationCount set to 2). The 3rd BatchedModifications will be sent on ready. final DOMStoreWriteTransaction writeTx3 = followerDistributedDataStore.newWriteOnlyTransaction(); for (int i = 1; i <= 5; i++, carIndex++) { @@ -947,16 +946,16 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest { writeTx3.write(CarsModel.newCarPath("car" + carIndex), cars.getLast()); } - // Prepare another WO that writes to a single shard. This will send a single BatchedModidifications - // message on ready. + // Prepare another WO that writes to a single shard. This will send a single BatchedModifications message + // on ready. final DOMStoreWriteTransaction writeTx4 = followerDistributedDataStore.newWriteOnlyTransaction(); cars.add(CarsModel.newCarEntry("car" + carIndex, Uint64.valueOf(carIndex))); writeTx4.write(CarsModel.newCarPath("car" + carIndex), cars.getLast()); carIndex++; - // Prepare a RW tx that will create a tx actor and send a ForwardedReadyTransaciton message to the - // leader shard on ready. + // Prepare a RW tx that will create a tx actor and send a ForwardedReadyTransaction message to the leader shard + // on ready. final DOMStoreReadWriteTransaction readWriteTx = followerDistributedDataStore.newReadWriteTransaction(); cars.add(CarsModel.newCarEntry("car" + carIndex, Uint64.valueOf(carIndex)));