Free up the term 'replicate' for exclusive use in replicator
Also, align Sockets field names with ContactInfo.
This commit is contained in:
@ -24,7 +24,7 @@ fn test_node(exit: Arc<AtomicBool>) -> (Arc<RwLock<ClusterInfo>>, GossipService,
|
||||
let w = Arc::new(RwLock::new(vec![]));
|
||||
let d = GossipService::new(&c.clone(), w, None, tn.sockets.gossip, exit);
|
||||
let _ = c.read().unwrap().my_data();
|
||||
(c, d, tn.sockets.replicate.pop().unwrap())
|
||||
(c, d, tn.sockets.tvu.pop().unwrap())
|
||||
}
|
||||
|
||||
/// Test that the network converges.
|
||||
|
@ -1548,7 +1548,7 @@ fn test_broadcast_last_tick() {
|
||||
.iter_mut()
|
||||
.map(|(_, _, node, _)| {
|
||||
BlobFetchStage::new(
|
||||
Arc::new(node.sockets.replicate.pop().unwrap()),
|
||||
Arc::new(node.sockets.tvu.pop().unwrap()),
|
||||
blob_receiver_exit.clone(),
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user