From 5bb2b1197b044f7ecb9ecb1625a2863b547ce2e4 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Fri, 20 Dec 2024 12:29:36 +0100 Subject: [PATCH] test: Increase timeout for codecoverage. --- .../matrix-sdk-integration-testing/src/tests/timeline.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testing/matrix-sdk-integration-testing/src/tests/timeline.rs b/testing/matrix-sdk-integration-testing/src/tests/timeline.rs index 723f71bee0..25f157c214 100644 --- a/testing/matrix-sdk-integration-testing/src/tests/timeline.rs +++ b/testing/matrix-sdk-integration-testing/src/tests/timeline.rs @@ -278,10 +278,12 @@ async fn test_stale_local_echo_time_abort_edit() { { let mut diffs = Vec::with_capacity(3); - while let Ok(Some(vector_diff)) = timeout(Duration::from_secs(5), stream.next()).await { + while let Ok(Some(vector_diff)) = timeout(Duration::from_secs(15), stream.next()).await { diffs.push(vector_diff); } + trace!(?diffs, "Received diffs"); + assert!(diffs.len() >= 3); for diff in diffs { @@ -642,7 +644,7 @@ async fn test_room_keys_received_on_notification_client_trigger_redecryption() { .expect("We should be able toe get a notification item for the given event"); // Alright, we should now receive an update that the event had been decrypted. - let _vector_diff = timeout(Duration::from_secs(5), stream.next()).await.unwrap().unwrap(); + let _vector_diff = timeout(Duration::from_secs(10), stream.next()).await.unwrap().unwrap(); // Let's fetch the event again. let item =