synapse/tests/storage
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
..
databases Track ongoing event fetches correctly (again) (#11376) 2021-11-26 13:47:24 +00:00
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Remove various bits of compatibility code for Python <3.6 (#9879) 2021-04-27 13:13:07 +01:00
test_account_data.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_appservice.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
test_background_update.py Lower minumum batch size to 1 for background updates (#11422) 2021-11-24 19:21:44 +00:00
test_base.py update black to 21.6b0 (#10197) 2021-06-17 15:20:06 +01:00
test_cleanup_extrems.py Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00
test_client_ips.py Test that ClientIpStore combines database and in-memory data correctly (#11179) 2021-11-01 11:20:54 +00:00
test_database.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_devices.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_directory.py [pyupgrade] tests/ (#10347) 2021-07-13 11:43:15 +01:00
test_e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_end_to_end_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_event_chain.py Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00
test_event_federation.py Prune inbound federation queues if they get too long (#10390) 2021-08-02 13:37:25 +00:00
test_event_metrics.py Fix (final) Bugbear violations (#9838) 2021-04-20 11:50:49 +01:00
test_event_push_actions.py Skip handling of push actions for outlier events (#10780) 2021-09-08 15:18:35 +01:00
test_events.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_id_generators.py Use inline type hints in tests/ (#10350) 2021-07-13 11:52:58 +01:00
test_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_main.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_monthly_active_users.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
test_profile.py Database storage profile passes mypy (#11342) 2021-11-15 12:59:33 +00:00
test_purge.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_redaction.py Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 2021-07-26 12:17:00 -04:00
test_registration.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_rollback_worker.py Fix incorrect return value in tests. (#11359) 2021-11-16 16:36:46 +00:00
test_room.py [pyupgrade] tests/ (#10347) 2021-07-13 11:43:15 +01:00
test_room_search.py Treat "\u0000" as "\u0020" for the purposes of message search (message indexing) (#10820) 2021-09-22 08:25:26 -07:00
test_roommember.py Change display names/avatar URLs to None if they contain null bytes before storing in DB (#11230) 2021-11-12 10:38:24 -08:00
test_state.py Stop user directory from failing if it encounters users not in the users table. (#11053) 2021-10-13 09:38:22 +00:00
test_stream.py Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
test_transactions.py Don't hammer the database for destination retry timings every ~5mins (#10036) 2021-05-21 17:57:08 +01:00
test_txn_limit.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
test_user_directory.py Correctly exclude users when making a room public or private (#11075) 2021-10-15 15:53:05 +01:00