mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-22 16:17:31 -04:00
`test_room_notification_count` started to intermittently fail on main, because the computation of unread counts has moved from the sliding sync processing to the event cache. As a result, new irrelevant RoomInfo updates (related to the unread counts) can happen, and they might happen quickly enough that the server reponse for sending an event happens after 2 seconds (remember, we need to factor in the time to do the e2ee key exchange, and so on and so forth). Bumping the time between two RoomInfo updates should be sufficient to avoid the intermittent failure.