Remove superfluous set_leader() usage

This commit is contained in:
Michael Vines
2019-03-08 19:39:26 -08:00
parent 4d5b832775
commit ac226c3e14
8 changed files with 2 additions and 17 deletions

View File

@ -435,7 +435,6 @@ mod tests {
let leader = ContactInfo::new_with_socketaddr(&socketaddr!("127.0.0.1:1234"));
cluster_info.write().unwrap().insert_info(leader.clone());
cluster_info.write().unwrap().set_leader(leader.id);
let mut io = MetaIoHandler::default();
let rpc = RpcSolImpl;