This commit is contained in:
Anatoly Yakovenko 2018-06-23 16:51:39 -07:00 committed by Greg Fitzgerald
parent 215fdbb7ed
commit c2258bedae
1 changed files with 1 additions and 0 deletions

View File

@ -1214,6 +1214,7 @@ mod tests {
//add a bunch of nodes with a new leader
for _ in 0..10 {
let mut dum = ReplicatedData::new_entry_point("127.0.0.1:1234".parse().unwrap());
dum.id = KeyPair::new().pubkey();
dum.current_leader_id = lead2.id;
crdt.insert(&dum);
}