synapse/tests/handlers
Erik Johnston 1531b214fc
Add ability to wait for replication streams (#7542)
The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room).

Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on.

People probably want to look at this commit by commit.
2020-05-22 14:21:54 +01:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test_admin.py Fixup from review comments. 2019-07-04 11:41:06 +01:00
test_appservice.py Run black. 2018-08-10 23:54:09 +10:00
test_auth.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_device.py Reject device display names that are too long (#6882) 2020-02-10 16:35:26 -05:00
test_directory.py Allow admins to create aliases when they are not in the room (#7191) 2020-04-01 08:27:05 -04:00
test_e2e_keys.py look up cross-signing keys from the DB in bulk (#6486) 2019-12-12 12:03:28 -05:00
test_e2e_room_keys.py add etag and count to key backup endpoints (#5858) 2019-11-27 16:14:44 -05:00
test_federation.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_oidc.py Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
test_presence.py Port PresenceHandler to async/await (#6991) 2020-02-26 15:33:26 +00:00
test_profile.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
test_register.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
test_stats.py Move background update handling out of store 2019-12-05 11:11:26 +00:00
test_sync.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_typing.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_user_directory.py Extend spam checker to allow for multiple modules (#7435) 2020-05-08 19:25:48 +01:00