Skip to content
Snippets Groups Projects
Commit 1b6dff3b authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

chore: bring back the erroneously removed assertion

parent 04cd9562
No related branches found
No related tags found
1 merge request!183Refactor/remove mailbox
Pipeline #9950 passed
...@@ -719,6 +719,7 @@ fn postjoin(args: &args::Run) { ...@@ -719,6 +719,7 @@ fn postjoin(args: &args::Run) {
node.tick(1); // apply configuration, if any node.tick(1); // apply configuration, if any
node.campaign().ok(); // trigger election immediately node.campaign().ok(); // trigger election immediately
assert_eq!(node.status().raft_state, "Leader");
} }
box_cfg.listen = Some(args.listen.clone()); box_cfg.listen = Some(args.listen.clone());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment