forked-synapse/tests/federation
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
..
transport privacy by default for room dir (#6355) 2019-12-04 09:46:16 +00:00
__init__.py Implementation of server_acls 2018-07-04 19:06:20 +01:00
test_complexity.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_federation_sender.py Fix device list update stream ids going backward (#7158) 2020-04-03 10:40:22 +01:00
test_federation_server.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00