From 7aa4ad49b3242a8a22d834d6e5debb2889fdf0e6 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 12 Aug 2021 13:10:17 +0100 Subject: [PATCH] bump the msg timeout a little higher --- backend/test_utils/src/server/channels.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/test_utils/src/server/channels.rs b/backend/test_utils/src/server/channels.rs index 14c24eb..f130f7e 100644 --- a/backend/test_utils/src/server/channels.rs +++ b/backend/test_utils/src/server/channels.rs @@ -273,7 +273,7 @@ impl FeedReceiver { // Then, loop a little to make sure we catch any additional messages that are sent soon after: loop { - match tokio::time::timeout(Duration::from_millis(500), self.recv_feed_messages_once()) + match tokio::time::timeout(Duration::from_millis(1000), self.recv_feed_messages_once()) .await { // Timeout elapsed; return the messages we have so far