Cleanup test format 93/98493/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 14 Nov 2021 06:26:53 +0000 (07:26 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 14 Nov 2021 06:26:53 +0000 (07:26 +0100)
We have wrong spaces, fix them up.

Change-Id: I166314fe85d350292fa25f36cfdbb7cd5424be76
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RecoveryIntegrationTest.java

index 2ef77c1..ca53d2e 100644 (file)
@@ -235,8 +235,8 @@ public class RecoveryIntegrationTest extends AbstractRaftActorIntegrationTest {
         });
 
         // Send new payloads
         });
 
         // Send new payloads
-        final MockPayload payload4 = sendPayloadData(leaderActor,"newFour");
-        final MockPayload payload5 = sendPayloadData(leaderActor,"newFive");
+        final MockPayload payload4 = sendPayloadData(leaderActor, "newFour");
+        final MockPayload payload5 = sendPayloadData(leaderActor, "newFive");
 
         verifyRaftState(leaderActor, raftState -> {
             assertEquals("leader journal last index", 5, leaderContext.getReplicatedLog().lastIndex());
 
         verifyRaftState(leaderActor, raftState -> {
             assertEquals("leader journal last index", 5, leaderContext.getReplicatedLog().lastIndex());
@@ -245,8 +245,8 @@ public class RecoveryIntegrationTest extends AbstractRaftActorIntegrationTest {
         reinstateLeaderActor();
 
         assertEquals("Leader last index", 5 , leaderActor.underlyingActor().getReplicatedLog().lastIndex());
         reinstateLeaderActor();
 
         assertEquals("Leader last index", 5 , leaderActor.underlyingActor().getReplicatedLog().lastIndex());
-        assertEquals(payload4 ,leaderActor.underlyingActor().getReplicatedLog().get(4).getData());
-        assertEquals(payload5 ,leaderActor.underlyingActor().getReplicatedLog().get(5).getData());
+        assertEquals(payload4leaderActor.underlyingActor().getReplicatedLog().get(4).getData());
+        assertEquals(payload5leaderActor.underlyingActor().getReplicatedLog().get(5).getData());
     }
 
     private void reinstateLeaderActor() {
     }
 
     private void reinstateLeaderActor() {