synapse/tests
Sean Quah d9f694932c
Fix spinloop during partial state sync when a prev event is in backoff (#15351)
Previously, we would spin in a tight loop until
`update_state_for_partial_state_event` stopped raising
`FederationPullAttemptBackoffError`s. Replace the spinloop with a wait
until the backoff period has expired.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-03-30 13:36:41 +01:00
..
api Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
app Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
appservice Implement MSC3983 to proxy /keys/claim queries to appservices. (#15314) 2023-03-28 18:26:27 +00:00
config Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
crypto Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
events Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
federation Ensure fed-sender catchup does not block for full state (#15248) 2023-03-13 12:31:19 +00:00
handlers Add the ability to enable/disable registrations when in the OIDC flow (#14978) 2023-03-30 11:09:41 +00:00
http Pull in netaddr type hints. (#15231) 2023-03-09 07:09:49 -05:00
logging Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
media Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
push Make cleaning up pushers depend on the device_id instead of the token_id (#15280) 2023-03-24 11:09:39 -04:00
replication Bump ruff from 0.0.252 to 0.0.259 (#15328) 2023-03-28 09:46:47 +01:00
rest Fix registering a device on an account with lots of devices (#15348) 2023-03-29 13:37:06 +00:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Fix spinloop during partial state sync when a prev event is in backoff (#15351) 2023-03-30 13:36:41 +01:00
test_utils Ensure fed-sender catchup does not block for full state (#15248) 2023-03-13 12:31:19 +00:00
types Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
util Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Bump ruff from 0.0.252 to 0.0.259 (#15328) 2023-03-28 09:46:47 +01:00
test_distributor.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_event_auth.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_federation.py Remove unused `room_alias` field from `/createRoom` response (#15093) 2023-02-22 11:07:28 +00:00
test_mau.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_phone_home.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_rust.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_server.py Add Synapse-Trace-Id to access-control-expose-headers header (#14974) 2023-03-20 11:14:05 -07:00
test_state.py Add missing types to test_state. (#14985) 2023-02-06 16:11:09 +00:00
test_terms_auth.py Proper types for tests.test_terms_auth (#15007) 2023-02-07 12:03:39 +00:00
test_test_utils.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_types.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_visibility.py Refactor `filter_events_for_server` (#15240) 2023-03-10 15:31:25 +00:00
unittest.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
utils.py Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00