Skip to content

Commit

Permalink
fix flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmith3197 committed Sep 25, 2023
1 parent 09930ec commit 76dc42a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sinks/amqp/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{
SourceSender,
};
use futures::StreamExt;
use std::{sync::Arc, time::Duration};
use std::{collections::HashSet, sync::Arc, time::Duration};
use vector_core::config::LogNamespace;

pub fn make_config() -> AmqpSinkConfig {
Expand Down Expand Up @@ -129,6 +129,9 @@ async fn amqp_happy_path() {
}

assert_eq!(out.len(), input.len());

let input: HashSet<String> = HashSet::from_iter(input);
let out: HashSet<String> = HashSet::from_iter(out);
assert_eq!(out, input);
}

Expand Down

0 comments on commit 76dc42a

Please sign in to comment.