Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions testing/matrix-sdk-integration-testing/src/tests/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,18 +615,14 @@ async fn test_latest_event_few_rooms() -> Result<()> {
debug!("Running check for second client, room1");
assert_latest_event_is_remote_event(&room1, &mut room1_sub, &room1_msg_event_id).await;

// Test passes if we uncomment this line, since more events will be fetched from
// the server and there will be a latest event update.
room2.event_cache().await?.0.pagination().run_backwards_until(100).await?;

//warn!("Subscribing to rooms on second client…");
//bob2_sync_service
//.room_list_service()
//.subscribe_to_rooms(&[room1.room_id(), room2.room_id()])
//.await;

//// Wait for a bit, for a sync response to be returned.
//sleep(Duration::from_secs(3)).await;
warn!("Subscribing to rooms on second client…");
bob2_sync_service
.room_list_service()
.subscribe_to_rooms(&[room1.room_id(), room2.room_id()])
.await;

// Wait for a bit, for a sync response to be returned.
sleep(Duration::from_secs(3)).await;

warn!("Rendering timeline.");
let timeline = TimelineBuilder::new(&room2).build().await?;
Expand Down
Loading