mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
integration tests: raise test_left_room join timeout a bit
This commit is contained in:
@@ -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?;
|
||||
|
||||
Reference in New Issue
Block a user