Add retry mechanism when downloading genesis and snapshots
This commit is contained in:
@ -726,12 +726,9 @@ fn test_snapshots_blockstore_floor() {
|
||||
let (cluster_nodes, _) = discover_cluster(&cluster.entry_point_info.gossip, 1).unwrap();
|
||||
let mut trusted_validators = HashSet::new();
|
||||
trusted_validators.insert(cluster_nodes[0].id);
|
||||
if let Some(ref mut config) = validator_snapshot_test_config
|
||||
validator_snapshot_test_config
|
||||
.validator_config
|
||||
.snapshot_config
|
||||
{
|
||||
config.trusted_validators = Some(trusted_validators);
|
||||
}
|
||||
.trusted_validators = Some(trusted_validators);
|
||||
|
||||
cluster.add_validator(
|
||||
&validator_snapshot_test_config.validator_config,
|
||||
@ -1012,7 +1009,6 @@ fn setup_snapshot_validator_config(
|
||||
snapshot_interval_slots,
|
||||
snapshot_package_output_path: PathBuf::from(snapshot_output_path.path()),
|
||||
snapshot_path: PathBuf::from(snapshot_dir.path()),
|
||||
trusted_validators: None,
|
||||
};
|
||||
|
||||
// Create the account paths
|
||||
|
Reference in New Issue
Block a user