Skip to content

Commit

Permalink
fixup! test: Test that room keys received by notification clients tri…
Browse files Browse the repository at this point in the history
…gger redecryptions
  • Loading branch information
poljar committed Dec 17, 2024
1 parent d0ac6dd commit 1369f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/matrix-sdk-integration-testing/src/tests/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ async fn test_room_keys_received_on_notification_client_trigger_redecryption() {
alice_sync.abort();

// Let's get the timeline and backpaginate to load the event.
let timeline =
let mut timeline =
bob_room.timeline().await.expect("We should be able to get a timeline for our room");

let mut item = None;
Expand All @@ -574,6 +574,7 @@ async fn test_room_keys_received_on_notification_client_trigger_redecryption() {
item = Some(timeline_item);
break;
} else {
timeline = bob_room.timeline().await.expect("We should be able to reset our timeline");
sleep(Duration::from_millis(100)).await
}
}
Expand Down

0 comments on commit 1369f6d

Please sign in to comment.