forked-synapse/tests/replication
Patrick Cloke e182dbb5b9
Fix tests on Twisted trunk. (#16528)
Twisted trunk makes a change to the `TLSMemoryBIOFactory` where
the underlying protocol is changed from `TLSMemoryBIOProtocol` to
`BufferingTLSTransport` to improve performance of TLS code (see
https://github.com/twisted/twisted/issues/11989).

In order to properly hook this code up in tests we need to pass the test
reactor's clock into `TLSMemoryBIOFactory` to avoid the global (trial)
reactor being used by default.

Twisted does something similar internally for tests:
157cd8e659/src/twisted/web/test/test_agent.py (L871-L874)
2023-10-25 07:39:45 -04:00
..
http Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
storage Stop patching EventBase.__eq__ in tests. (#16349) 2023-09-18 14:48:02 +00:00
tcp Avoid sending massive replication updates when purging a room. (#16510) 2023-10-18 12:26:01 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
test_auth.py Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
test_client_reader_shard.py Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
test_federation_ack.py Fix a bug introduced in Synapse v1.84.0 where workers do not start up when no instance_map was provided. (#15672) 2023-05-26 14:28:55 +00:00
test_federation_sender_shard.py Return an immutable value from get_latest_event_ids_in_room. (#16326) 2023-09-18 09:29:05 -04:00
test_module_cache_invalidation.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_multi_media_repo.py Fix tests on Twisted trunk. (#16528) 2023-10-25 07:39:45 -04:00
test_pusher_shard.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_sharded_event_persister.py Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00