Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Sep 12, 2024
1 parent 9b2f653 commit 2fc16b4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion relay-server/src/services/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,12 @@ mod tests {
while let Ok(value) = project_cache_rx.try_recv() {
messages.insert(value.variant());
}
assert!(messages.contains("HandleDequeuedEnvelope"));
assert_eq!(
messages
.iter()
.filter(|&&x| x == "HandleDequeuedEnvelope")
.count(),
1
);
}
}

0 comments on commit 2fc16b4

Please sign in to comment.