synapse-product/tests
Richard van der Hoff 5458eb8551
Fix 'Unhandled error in Deferred' (#12089)
* Fix 'Unhandled error in Deferred'

Fixes a CRITICAL "Unhandled error in Deferred" log message which happened when
a function wrapped with `@cachedList` failed

* Minor optimisation to cachedListDescriptor

we can avoid re-using `missing`, which saves looking up entries in
`deferreds_map`, and means we don't need to copy it.

* Improve type annotation on CachedListDescriptor
2022-03-01 09:51:38 +00:00
..
api Fix PushRuleEvaluator and Filter to work on frozendicts (#12100) 2022-02-28 17:40:24 +00:00
app Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
appservice Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
config Support configuring the lifetime of non-refreshable access tokens separately to refreshable access tokens. (#11445) 2021-12-03 16:42:44 +00:00
crypto Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
events Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
federation Actually fix bad debug logging rejecting device list & signing key transactions (#12098) 2022-02-28 14:10:36 +00:00
handlers Remove the unstable /spaces endpoint. (#12073) 2022-02-28 18:33:00 +00:00
http Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
logging Fixes for opentracing scopes (#11869) 2022-02-02 22:41:57 +00:00
module_api Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
push Fix PushRuleEvaluator and Filter to work on frozendicts (#12100) 2022-02-28 17:40:24 +00:00
replication Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
rest Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
scripts Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server_notices Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
state Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 2021-07-26 12:17:00 -04:00
storage Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_utils Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
util Fix 'Unhandled error in Deferred' (#12089) 2022-03-01 09:51:38 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Support rendering previews with data: URLs in them (#11767) 2022-01-24 08:58:18 -05:00
test_distributor.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_event_auth.py Check *all* auth events for room id and rejection (#11009) 2021-10-18 18:28:30 +01:00
test_federation.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_mau.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_metrics.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_phone_home.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_server.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
test_state.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_terms_auth.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_test_utils.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_types.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_visibility.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
unittest.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
utils.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00