Fix local-cluster test - archiver should wait for itself + 1 validator (#9577) (#9584)

automerge
This commit is contained in:
mergify[bot]
2020-04-19 01:36:14 -07:00
committed by GitHub
parent f6a8f718a8
commit 788d1199ac

View File

@ -199,7 +199,7 @@ impl Archiver {
info!("Connecting to the cluster via {:?}", cluster_entrypoint);
let (nodes, _) =
match solana_core::gossip_service::discover_cluster(&cluster_entrypoint.gossip, 1) {
match solana_core::gossip_service::discover_cluster(&cluster_entrypoint.gossip, 2) {
Ok(nodes_and_archivers) => nodes_and_archivers,
Err(e) => {
//shutdown services before exiting