Unverified Commit eec345aa authored by jthomson04's avatar jthomson04 Committed by GitHub
Browse files

fix: Fix flaky test (#1466)

parent e8e728be
...@@ -953,6 +953,8 @@ mod tests { ...@@ -953,6 +953,8 @@ mod tests {
4 4
); );
tokio::time::sleep(std::time::Duration::from_millis(100)).await;
// Now, we match only the last 2 blocks // Now, we match only the last 2 blocks
let matched_suffix = pool.match_sequence_hashes(&sequence_hashes[2..]).await?; let matched_suffix = pool.match_sequence_hashes(&sequence_hashes[2..]).await?;
assert_eq!(matched_suffix.len(), 2); assert_eq!(matched_suffix.len(), 2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment