From 2fde15da79ee1f20a4fe38bf314021071c3f3259 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Tue, 16 Jul 2024 14:31:05 +0200 Subject: [PATCH] integration tests: raise `test_left_room` join timeout a bit --- .../src/tests/sliding_sync/room.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs b/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs index 21e290a04..5567ff225 100644 --- a/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs +++ b/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs @@ -99,7 +99,7 @@ async fn test_left_room() -> Result<()> { // Steven joins it. let mut joined = false; - for _ in 0..3 { + for _ in 0..10 { sleep(Duration::from_secs(1)).await; if let Some(room) = steven.get_room(peter_room.room_id()) { room.join().await?; @@ -107,7 +107,7 @@ async fn test_left_room() -> Result<()> { break; } } - anyhow::ensure!(joined, "steven couldn't join after 3 seconds"); + anyhow::ensure!(joined, "steven couldn't join after 10 seconds"); // Now Peter is just being rude. peter_room.leave().await?;