diff --git a/gossip/src/cluster_info.rs b/gossip/src/cluster_info.rs index 4bbde3f4b3..4994a82309 100644 --- a/gossip/src/cluster_info.rs +++ b/gossip/src/cluster_info.rs @@ -3874,6 +3874,9 @@ RPC Enabled Nodes: 1"#; tower.push(slot); tower.remove(23); let vote = new_vote_transaction(&mut rng, vec![slot]); + // New versioned-crds-value should have wallclock later than existing + // entries, otherwise might not get inserted into the table. + sleep(Duration::from_millis(5)); cluster_info.push_vote(&tower, vote); let vote_slots = get_vote_slots(&cluster_info); assert_eq!(vote_slots.len(), MAX_LOCKOUT_HISTORY);