From 76dc42a8f82428568b4bdf3179e09758bc96e680 Mon Sep 17 00:00:00 2001 From: Doug Smith Date: Mon, 25 Sep 2023 15:20:49 -0400 Subject: [PATCH] fix flakey test --- src/sinks/amqp/integration_tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sinks/amqp/integration_tests.rs b/src/sinks/amqp/integration_tests.rs index 08db9c6e46b27..194a2edae6947 100644 --- a/src/sinks/amqp/integration_tests.rs +++ b/src/sinks/amqp/integration_tests.rs @@ -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 { @@ -129,6 +129,9 @@ async fn amqp_happy_path() { } assert_eq!(out.len(), input.len()); + + let input: HashSet = HashSet::from_iter(input); + let out: HashSet = HashSet::from_iter(out); assert_eq!(out, input); }