-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
TestDeviceListUpdates
flakes (#593)
When a remote user has a device list update, an entry is expected to appear in `device_lists.changed` in the `/sync` response. The local homeserver may then query the remote homeserver for the update. Some homeservers (Synapse) may emit extra `device_lists.changed` updates in `/sync` responses after querying keys. Previously, we attempted to skip over the spurious `device_lists.changed` updates by doing another sync. This wasn't sufficient, so we make another remote user send a device list update, and wait for that to appear. Fixes #580. Signed-off-by: Sean Quah <[email protected]>
- Loading branch information
Showing
1 changed file
with
52 additions
and
10 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