Merge "Add assertNotNull to prevent null analysis warnings"
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / RaftActorTest.java
index 37e7d35d434ce0b42f2509a35322bc6acc40d09b..e5c8677b0466fa0b282a413ef2291dd0318ce01e 100644 (file)
@@ -472,6 +472,7 @@ public class RaftActorTest extends AbstractActorTest {
                 Uninterruptibles.sleepUninterruptibly(heartBeatInterval, TimeUnit.MILLISECONDS);
             }
 
+            assertNotNull(matches);
             assertEquals(2, matches.size());
 
             // check if the notifier got a role change from null to Follower