Rename ClusterInfo::new() to ClusterInfo::new_with_invalid_keypair()

This commit is contained in:
Michael Vines
2019-03-06 13:47:18 -08:00
parent 4d58bf4b28
commit bb93504965
17 changed files with 35 additions and 33 deletions

View File

@@ -146,7 +146,7 @@ fn test_replicator_startup_basic() {
// Create a client which downloads from the replicator and see that it
// can respond with blobs.
let tn = Node::new_localhost();
let cluster_info = ClusterInfo::new(tn.info.clone());
let cluster_info = ClusterInfo::new_with_invalid_keypair(tn.info.clone());
let repair_index = replicator.entry_height();
let req = cluster_info
.window_index_request_bytes(0, repair_index)