Commit 12302c06 authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Fix maybe-uninitialized warning on CC7

parent 28db1b19
Pipeline #423966 failed with stages
in 7 minutes and 45 seconds
......@@ -595,6 +595,7 @@ TEST_F(Raft_Election, leader_cannot_call_election) {
ASSERT_TRUE(state()->ascend(2));
RaftVoteRequest votereq;
votereq.lastIndex = 5;
votereq.term = 2;
ASSERT_FALSE(RaftElection::perform(votereq, *state(), *lease(), *contactDetails()));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment