From 7998e785e61a3cb371d94ff7f7bcdb8bf69b8707 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. --- testing/matrix-sdk-integration-testing/src/tests/timeline.rs | 4 ++-- 1 file changed, 2 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 723f71bee08..bc6ff1bec11 100644 --- a/testing/matrix-sdk-integration-testing/src/tests/timeline.rs +++ b/testing/matrix-sdk-integration-testing/src/tests/timeline.rs @@ -278,7 +278,7 @@ 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(10), stream.next()).await { diffs.push(vector_diff); } @@ -642,7 +642,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 =