0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-17 01:59:26 +02:00
synapse/tests/replication
Erik Johnston 316590d1ea
Fix bug in wait_for_stream_position (#14856)
We were incorrectly checking if the *local* token had been advanced, rather than the token for the remote instance.

In practice, I don't think this has caused any bugs due to where we use `wait_for_stream_position`, as critically we don't use it on instances that also write to the given streams (and so the local token will lag behind all remote tokens).
2023-01-17 09:58:22 +00:00
..
http Generalise the @cancellable annotation so it can be used on functions other than just servlet methods. (#13662) 2022-08-31 11:16:05 +00:00
slave Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
tcp Fix bug in wait_for_stream_position (#14856) 2023-01-17 09:58:22 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_auth.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_client_reader_shard.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_federation_ack.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_federation_sender_shard.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_module_cache_invalidation.py Add cache invalidation across workers to module API (#13667) 2022-09-21 15:32:01 +02:00
test_multi_media_repo.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
test_pusher_shard.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_sharded_event_persister.py Reduce the number of tests using TCP replication. (#13543) 2022-08-19 08:25:24 -04:00