synapse/tests/storage
Patrick Cloke 230a831c73
Attempt to delete more duplicate rows in receipts_linearized table. (#14915)
The previous assumption was that the stream_id column was unique
(for a room ID, receipt type, user ID tuple), but this turned out to be
incorrect.

Now find the max stream ID, then map this back to a database-specific
row identifier and delete other rows which match the (room ID, receipt type,
user ID) tuple, but *not* the row ID.
2023-02-01 15:45:10 -05:00
..
databases Attempt to delete more duplicate rows in receipts_linearized table. (#14915) 2023-02-01 15:45:10 -05:00
util Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
__init__.py
test__base.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_account_data.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_appservice.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_background_update.py Add type hints to tests files. (#12256) 2022-03-21 09:43:16 -04:00
test_base.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_cleanup_extrems.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_client_ips.py Revert the deletion of stale devices due to performance issues. (#14662) 2022-12-12 13:55:23 +00:00
test_database.py Make sqlite database migrations transactional again, part two (#14926) 2023-01-31 11:03:55 +00:00
test_devices.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_directory.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_e2e_room_keys.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_end_to_end_keys.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_event_chain.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_event_federation.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_event_metrics.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_event_push_actions.py Re-enable some linting (#14821) 2023-01-12 10:52:07 +00:00
test_events.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_id_generators.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
test_keys.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_main.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_monthly_active_users.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_profile.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_purge.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_receipts.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_redaction.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_registration.py Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
test_relations.py Accept threaded receipts for events related to the root event. (#14174) 2022-10-14 18:05:25 +00:00
test_rollback_worker.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_room.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_room_search.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_roommember.py Fix that user cannot /forget rooms after the last member has left (#13546) 2022-08-30 09:58:38 +00:00
test_state.py Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
test_stream.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_transactions.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_txn_limit.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_unsafe_locale.py Refuse to start if DB has an unsafe locale (#12262) 2022-03-23 10:23:05 -07:00
test_user_directory.py Fix type hints in typing edu unit tests (#14886) 2023-01-26 10:15:50 +00:00