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

automerge
This commit is contained in:
mergify[bot]
2020-04-19 01:44:46 -07:00
committed by GitHub
parent 12ed7c6845
commit d3dd9ec6e2

View File

@ -200,7 +200,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