Enhance code documentation and add TODOs
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / behaviors / FollowerTest.java
index f6a6217d08bfe712bb688cb3701afb530451cb1c..b7c371dd39722986b7601bec8cce1e0127ec71d4 100644 (file)
@@ -378,8 +378,13 @@ public class FollowerTest extends AbstractRaftActorBehaviorTest {
             assertEquals(4, log.last().getIndex() + 1);
             assertNotNull(log.get(2));
 
+
+            assertEquals("one", log.get(1).getData());
+
             // Check that the entry at index 2 has the new data
             assertEquals("two-1", log.get(2).getData());
+
+            assertEquals("three", log.get(3).getData());
             assertNotNull(log.get(3));
 
             // Also expect an AppendEntriesReply to be sent where success is false