MatrixSynapse/tests
Brendan Abolivier d1ae1015ec
Retry to sync out of sync device lists (#7453)
When a call to `user_device_resync` fails, we don't currently mark the remote user's device list as out of sync, nor do we retry to sync it.

https://github.com/matrix-org/synapse/pull/6776 introduced some code infrastructure to mark device lists as stale/out of sync.

This commit uses that code infrastructure to mark device lists as out of sync if processing an incoming device list update makes the device handler realise that the device list is out of sync, but we can't resync right now.

It also adds a looping call to retry all failed resync every 30s. This shouldn't cause too much spam in the logs as this commit also removes the "Failed to handle device list update for..." warning logs when catching `NotRetryingDestination`.

Fixes #7418
2020-05-21 17:41:12 +02:00
..
api Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
app Remove spurious "name" parameter to `default_config` 2020-03-24 18:33:49 +00:00
appservice Refactor the Appservice scheduler code 2019-08-20 11:50:23 +01:00
config Fix new flake8 errors (#7489) 2020-05-13 08:24:50 -04:00
crypto Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
events Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
federation Fix device list update stream ids going backward (#7158) 2020-04-03 10:40:22 +01:00
handlers Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
http Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
logging Fix for structured logging tests stomping on logs (#6023) 2019-09-13 02:29:55 +10:00
push Do not treat display names as globs for push rules. (#7271) 2020-04-16 10:52:55 -04:00
replication fix mypy for tests/replication (#7518) 2020-05-18 10:43:05 +01:00
rest Allow expired accounts to logout (#7443) 2020-05-14 16:32:49 +01:00
scripts Port register_new_matrix_user to Python 3 and add tests (#4085) 2018-10-26 22:05:22 +11:00
server_notices Convert synapse.server_notices to async/await. (#7394) 2020-05-01 15:28:59 -04:00
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
storage Synapse 1.13.0rc2 (2020-05-14) 2020-05-14 11:46:38 +01:00
test_utils Fix bug in EventContext.deserialize. (#7393) 2020-05-05 14:17:27 +01:00
util Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
__init__.py Move patch_inline_callbacks into synapse/ 2019-10-10 10:53:06 +01:00
server.py Kill off redundant SynapseRequestFactory (#6619) 2020-01-03 14:19:48 +00:00
test_distributor.py Run black. 2018-08-10 23:54:09 +10:00
test_event_auth.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_federation.py Retry to sync out of sync device lists (#7453) 2020-05-21 17:41:12 +02:00
test_mau.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_metrics.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
test_phone_home.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
test_preview.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_server.py Implement RedirectException (#6687) 2020-01-15 15:58:55 +00:00
test_state.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_terms_auth.py Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_tests 2020-03-30 13:59:07 +01:00
test_test_utils.py Run black. 2018-08-10 23:54:09 +10:00
test_types.py Validate the alt_aliases property of canonical alias events (#6971) 2020-03-03 07:12:45 -05:00
test_visibility.py Port to use state storage 2019-10-30 14:46:54 +00:00
unittest.py Fix limit logic for EventsStream (#7358) 2020-04-29 12:30:36 +01:00
utils.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00