synapse-old/tests
Sean Quah c675a18071
Track ongoing event fetches correctly (again) (#11376)
The previous fix for the ongoing event fetches counter
(8eec25a1d9) was both insufficient and
incorrect.

When the database is unreachable, `_do_fetch` never gets run and so
`_event_fetch_ongoing` is never decremented.

The previous fix also moved the `_event_fetch_ongoing` decrement outside
of the `_event_fetch_lock` which allowed race conditions to corrupt the
counter.
2021-11-26 13:47:24 +00:00
..
api Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
app Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
appservice Fix errors in Synapse logs from unit tests. (#10939) 2021-09-30 11:03:29 -04:00
config Add missing type hints to config base classes (#11377) 2021-11-23 15:21:19 +00:00
crypto Fix verification of objects signed with old local keys (#11379) 2021-11-19 10:55:09 +00:00
events Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 2021-10-01 11:39:17 -04:00
federation Fix errors in Synapse logs from unit tests. (#10939) 2021-09-30 11:03:29 -04:00
handlers Fix checking whether a room can be published on creation. (#11392) 2021-11-19 15:19:32 +00:00
http Prevent the media store from writing outside of the configured directory 2021-11-19 13:39:15 +00:00
logging Include exception in json logging (#11028) 2021-10-08 13:08:25 +02:00
module_api Remove a debug statement from tests. (#11239) 2021-11-03 13:11:16 +00:00
push Default value for `public_baseurl` (#11210) 2021-11-08 14:13:10 +00:00
replication Misc typing fixes for `tests`, part 1 of N (#11323) 2021-11-12 15:50:54 +00:00
rest Lower minumum batch size to 1 for background updates (#11422) 2021-11-24 19:21:44 +00:00
scripts Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server_notices Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04: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 Track ongoing event fetches correctly (again) (#11376) 2021-11-26 13:47:24 +00:00
test_utils Create a constant for a small png image in tests. (#10834) 2021-09-16 12:01:14 -04:00
util Additional test for `cachedList` (#11246) 2021-11-04 14:45:34 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Misc typing fixes for tests, part 2 of N (#11330) 2021-11-16 10:41:35 +00:00
test_distributor.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01: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 redundant parameters on `_check_event_auth` (#11292) 2021-11-10 14:16:06 +00:00
test_mau.py Revert change to counting of deactivated users towards the monthly active users limit (#11127) 2021-10-20 11:05:29 +01: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_preview.py Fix URL preview errors when previewing XML documents. (#11196) 2021-10-27 14:48:02 +00: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 unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
test_terms_auth.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_test_utils.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_types.py [pyupgrade] `tests/` (#10347) 2021-07-13 11:43:15 +01:00
test_visibility.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
unittest.py Store arbitrary relations from events. (#11391) 2021-11-22 12:01:47 -05:00
utils.py Remove code invalidated by deprecated config flag 'trust_identity_servers_for_password_resets' (#11395) 2021-11-23 06:46:40 -08:00