From 8f852d8a6b612ddb3982264c9118ba9ffba80df7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 26 Mar 2021 01:20:26 +0000 Subject: [PATCH] makes test_pull_request_time_pruning smaller (#16128) (#16144) (cherry picked from commit b041b5502812142c39f5eb113bbb7bee19ce7207) Co-authored-by: behzad nouri --- core/src/cluster_info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/cluster_info.rs b/core/src/cluster_info.rs index 28b51076a0..1f0da36b3b 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());