Fix local-cluster test - archiver should wait for itself + 1 validator (#9577)
This commit is contained in:
parent
58887c591b
commit
3205361163
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue