diff --git a/core/src/cluster_info.rs b/core/src/cluster_info.rs index 28b51076a060c8..1f0da36b3b1859 100644 --- a/core/src/cluster_info.rs +++ b/core/src/cluster_info.rs @@ -4757,7 +4757,7 @@ mod tests { let shred_version = cluster_info.my_shred_version(); let mut peers: Vec = vec![]; - const NO_ENTRIES: usize = 20000; + const NO_ENTRIES: usize = CRDS_UNIQUE_PUBKEY_CAPACITY + 128; let data: Vec<_> = repeat_with(|| { let keypair = Keypair::new(); peers.push(keypair.pubkey());