raft: extend single_node_is_quiet test

This commit is contained in:
Konstantin Osipov
2021-02-09 17:04:13 +03:00
parent 4498bb0a48
commit 41387225c3

View File

@@ -107,6 +107,10 @@ BOOST_AUTO_TEST_CASE(test_single_node_is_quiet) {
fsm.add_entry(raft::command{});
BOOST_CHECK(fsm.get_output().messages.empty());
fsm.tick();
BOOST_CHECK(fsm.get_output().messages.empty());
}
BOOST_AUTO_TEST_CASE(test_election_two_nodes) {