-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This test was a bit flaky. The trouble was that there were three things that could triger a deice update notification: * Joining the room * Updating the device keys * Changing display name ... but we only checked for two update notifications, and didn't sanity-check that they were matching up. By adding another poll for update notifications, we can avoid getting out of sync. I also don't think we need the display_name update here. We can also tighten up the final check by making sure that the departed user doesn't appear in *any* syncs between the departure and the undeparted user's update arriving.
- Loading branch information
Showing
1 changed file
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters