Fix test_max_hashes (#14189)

This commit is contained in:
sakridge
2020-12-17 15:12:18 -08:00
committed by GitHub
parent da7d1e2302
commit a5db6399ad

View File

@ -254,6 +254,9 @@ mod tests {
0,
100,
);
// sleep for 1ms to create a newer timestmap for gossip entry
// otherwise the timestamp won't be newer.
std::thread::sleep(Duration::from_millis(1));
}
cluster_info.flush_push_queue();
let cluster_hashes = cluster_info