From 44ef302bc70d7f4d97b3a42c1716952313ff775f Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 23 Jun 2023 16:17:21 +0200 Subject: [PATCH] Increase sleep in test a bit since it seems flaky in CI --- crates/matrix-sdk-ui/tests/integration/timeline/queue.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/matrix-sdk-ui/tests/integration/timeline/queue.rs b/crates/matrix-sdk-ui/tests/integration/timeline/queue.rs index 969857c67..e9cbe8f88 100644 --- a/crates/matrix-sdk-ui/tests/integration/timeline/queue.rs +++ b/crates/matrix-sdk-ui/tests/integration/timeline/queue.rs @@ -185,8 +185,8 @@ async fn retry_order() { assert_eq!(value.content().as_message().unwrap().body(), "First!"); }); - // Wait 200ms for the first msg, 100ms for the second, 100ms for overhead - sleep(Duration::from_millis(400)).await; + // Wait 200ms for the first msg, 100ms for the second, 200ms for overhead + sleep(Duration::from_millis(500)).await; // The second item should be updated first, since it was retried first assert_next_matches!(timeline_stream, VectorDiff::Set { index: 1, value } => {