synapse/tests
Sean Quah 0a686d1d13
Faster joins: Refactor handling of servers in room (#14954)
Ensure that the list of servers in a partial state room always contains
the server we joined off.

Also refactor `get_partial_state_servers_at_join` to return `None` when
the given room is no longer partial stated, to explicitly indicate when
the room has partial state. Otherwise it's not clear whether an empty
list means that the room has full state, or the room is partial stated,
but the server we joined off told us that there are no servers in the
room.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-02-03 15:39:59 +00:00
..
api Add type hints to TestRatelimiter (#14885) 2023-01-21 15:59:15 +00:00
app Use servlets for /key/ endpoints. (#14229) 2022-10-20 11:32:47 -04:00
appservice Use device_one_time_keys_count to match MSC3202 (#14565) 2022-11-28 16:17:29 +00:00
config Add missing type hints to tests.config. (#14681) 2022-12-16 08:53:28 -05:00
crypto Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
events Add missing type hints for tests.events. (#14904) 2023-01-25 15:14:03 -05:00
federation Fix type hints in knocking tests. (#14887) 2023-01-25 14:38:20 -05:00
handlers Faster joins: Refactor handling of servers in room (#14954) 2023-02-03 15:39:59 +00:00
http Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
logging Add missing type hints in tests (#14879) 2023-01-26 14:45:24 -05:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
push Handle malformed values of notification.room in power level events (#14942) 2023-01-30 21:29:30 +00:00
replication Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
rest Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
scripts
server_notices Fix type hints for Monthly Active Users tests (#14889) 2023-01-22 10:50:14 +01:00
state
storage Attempt to delete more duplicate rows in receipts_linearized table. (#14915) 2023-02-01 15:45:10 -05:00
test_utils Reload the pyo3-log config when the Python logging config changes. (#14976) 2023-02-03 08:27:31 -05:00
types Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
util Remove unnecessary reactor reference from _PerHostRatelimiter (#14842) 2023-01-16 13:16:19 +00:00
__init__.py
server.py Support OIDC backchannel logouts (#11414) 2022-10-31 13:07:30 -04:00
test_distributor.py
test_event_auth.py Handle malformed values of notification.room in power level events (#14942) 2023-01-30 21:29:30 +00:00
test_federation.py Track when the pulled event signature fails (#13815) 2022-10-03 14:53:29 -05:00
test_mau.py
test_phone_home.py
test_rust.py
test_server.py Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py Faster joins: filter out non local events when a room doesn't have its full state (#14404) 2022-11-21 16:46:14 +01:00
unittest.py Fix type hints in typing edu unit tests (#14886) 2023-01-26 10:15:50 +00:00
utils.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00