mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-30 19:35:03 +00:00
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:
|
||
---|---|---|
.. | ||
http | ||
storage | ||
tcp | ||
__init__.py | ||
_base.py | ||
test_auth.py | ||
test_client_reader_shard.py | ||
test_federation_ack.py | ||
test_federation_sender_shard.py | ||
test_module_cache_invalidation.py | ||
test_multi_media_repo.py | ||
test_pusher_shard.py | ||
test_sharded_event_persister.py |