X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FShardCommitCoordinationTest.java;h=a7a265f00ef000ee944d632ab8b50ab98df043a7;hb=466078ab1dc8a8cc2981b161051f6edecd6af85a;hp=5239ff785c3f07c8f983e56422f5a404fbc0e5b8;hpb=731e7284cf0895fdb1b89427f91762e80e67c2ff;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinationTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinationTest.java index 5239ff785c..a7a265f00e 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinationTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinationTest.java @@ -68,7 +68,7 @@ public class ShardCommitCoordinationTest extends AbstractShardTest { * even though it isn't at the head of the queues. */ @Test - public void testTwoTransactionsWithSameTwoParticipatingShards() throws Exception { + public void testTwoTransactionsWithSameTwoParticipatingShards() { final String testName = "testTwoTransactionsWithSameTwoParticipatingShards"; LOG.info("{} starting", testName); @@ -180,7 +180,7 @@ public class ShardCommitCoordinationTest extends AbstractShardTest { * CanCommit is requested. */ @Test - public void testMultipleTransactionsWithMixedParticipatingShards() throws Exception { + public void testMultipleTransactionsWithMixedParticipatingShards() { final String testName = "testMultipleTransactionsWithMixedParticipatingShards"; LOG.info("{} starting", testName); @@ -345,7 +345,7 @@ public class ShardCommitCoordinationTest extends AbstractShardTest { * When the tx's re committed verify the ready order is preserved. */ @Test - public void testTwoTransactionsWithOneCommonParticipatingShard1() throws Exception { + public void testTwoTransactionsWithOneCommonParticipatingShard1() { final String testName = "testTwoTransactionsWithOneCommonParticipatingShard1"; LOG.info("{} starting", testName); @@ -458,7 +458,7 @@ public class ShardCommitCoordinationTest extends AbstractShardTest { * When the tx's re committed verify the ready order is preserved. */ @Test - public void testTwoTransactionsWithOneCommonParticipatingShard2() throws Exception { + public void testTwoTransactionsWithOneCommonParticipatingShard2() { final String testName = "testTwoTransactionsWithOneCommonParticipatingShard2"; LOG.info("{} starting", testName); @@ -554,8 +554,7 @@ public class ShardCommitCoordinationTest extends AbstractShardTest { LOG.info("{} ending", testName); } - static void verifyInnerListEntry(TestActorRef shard, int outerID, String innerID) - throws Exception { + static void verifyInnerListEntry(TestActorRef shard, int outerID, String innerID) { final YangInstanceIdentifier path = innerEntryPath(outerID, innerID); final NormalizedNode innerListEntry = readStore(shard, path); assertNotNull(path + " not found", innerListEntry);