Skip to content

Commit

Permalink
some validator config was not using default_for_test
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Jan 25, 2024
1 parent b447d33 commit 53d2df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local-cluster/tests/local_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ fn test_hard_fork_with_gap_in_roots() {

let validator_config = ValidatorConfig {
snapshot_config: LocalCluster::create_dummy_load_only_snapshot_config(),
..ValidatorConfig::default()
..ValidatorConfig::default_for_test()
};
let mut config = ClusterConfig {
cluster_lamports: 100_000,
Expand Down Expand Up @@ -5236,7 +5236,7 @@ fn test_duplicate_shreds_switch_failure() {
validator_keypair,
validator_config: ValidatorConfig {
voting_disabled,
..ValidatorConfig::default()
..ValidatorConfig::default_for_test()
},
in_genesis,
}
Expand Down

0 comments on commit 53d2df1

Please sign in to comment.