X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbehaviors%2FPartitionedLeadersElectionScenarioTest.java;fp=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbehaviors%2FPartitionedLeadersElectionScenarioTest.java;h=e5f7c6eaa6487b425c3113838d94b2f01db3569b;hp=38740355be517d1e7a933740df9c92d8a7eba2c0;hb=12fcdfe39aa26dcba7fd3bb4d4c68e3d02e65c51;hpb=3564341bbc0a9b53c5a26becb3d03230125cba80 diff --git a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/PartitionedLeadersElectionScenarioTest.java b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/PartitionedLeadersElectionScenarioTest.java index 38740355be..e5f7c6eaa6 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/PartitionedLeadersElectionScenarioTest.java +++ b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/PartitionedLeadersElectionScenarioTest.java @@ -33,7 +33,7 @@ public class PartitionedLeadersElectionScenarioTest extends AbstractLeaderElecti * sends a heartbeat first when connectivity is re-established. */ @Test - public void runTest1() throws Exception { + public void runTest1() { testLog.info("PartitionedLeadersElectionScenarioTest 1 starting"); setupInitialMemberBehaviors(); @@ -54,7 +54,7 @@ public class PartitionedLeadersElectionScenarioTest extends AbstractLeaderElecti * sends a heartbeat first when connectivity is re-established. */ @Test - public void runTest2() throws Exception { + public void runTest2() { testLog.info("PartitionedLeadersElectionScenarioTest 2 starting"); setupInitialMemberBehaviors(); @@ -238,7 +238,7 @@ public class PartitionedLeadersElectionScenarioTest extends AbstractLeaderElecti testLog.info("sendInitialElectionTimeoutToFollowerMember3 ending"); } - private void sendInitialElectionTimeoutToFollowerMember2() throws Exception { + private void sendInitialElectionTimeoutToFollowerMember2() { testLog.info("sendInitialElectionTimeoutToFollowerMember2 starting"); // Send ElectionTimeout to member 2 to simulate no heartbeat from the Leader (member 1). @@ -275,7 +275,7 @@ public class PartitionedLeadersElectionScenarioTest extends AbstractLeaderElecti testLog.info("sendInitialElectionTimeoutToFollowerMember2 ending"); } - private void setupInitialMemberBehaviors() throws Exception { + private void setupInitialMemberBehaviors() { testLog.info("setupInitialMemberBehaviors starting"); // Create member 2's behavior initially as Follower