The exception can be potentially null, make sure we fail the test if it
is.
Change-Id: I6b987e2962abfaa8afa570791e3500fa4916e5c2
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit
366726ce5400e77ad813aba0ed1289331093db50)
package org.opendaylight.controller.cluster.raft;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import akka.actor.ActorRef;
import akka.actor.InvalidActorNameException;
import akka.actor.PoisonPill;
}
}
+ assertNotNull(lastEx);
throw lastEx;
}