-- TODO: test case where there are 3 nodes, but log is only committed on leader
-- + 1 node. Leader should NOT apply log to statemachine

testRequestVoteReq :: Spec
testRequestVoteReq = do
  let mkNode = mkServerState s1 [s2] 10 10
      req cTerm lTerm lIndex = RVReq RequestVoteReq { _candidateTerm = cTerm
                                                    , _from = s2