synapse/tests/handlers
Erik Johnston c9dbee50ae
Fixup pusher pool notifications (#8287)
`pusher_pool.on_new_notifications` expected a min and max stream ID, however that was not what we were passing in. Instead, let's just pass it the current max stream ID and have it track the last stream ID it got passed.

I believe that it mostly worked as we called the function for every event. However, it would break for events that got persisted out of order, i.e, that were persisted but the max stream ID wasn't incremented as not all preceding events had finished persisting, and push for that event would be delayed until another event got pushed to the effected users.
2020-09-09 16:56:08 +01:00
..
__init__.py
test_admin.py Fixup from review comments. 2019-07-04 11:41:06 +01:00
test_appservice.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
test_auth.py Allow for make_awaitable's return value to be re-used. (#8261) 2020-09-08 07:26:55 -04:00
test_device.py Convert device handler to async/await (#7871) 2020-07-17 07:09:25 -04:00
test_directory.py Convert federation client to async/await. (#7975) 2020-07-30 08:01:33 -04:00
test_e2e_keys.py Convert device handler to async/await (#7871) 2020-07-17 07:09:25 -04:00
test_e2e_room_keys.py Convert E2E key and room key handlers to async/await. (#7851) 2020-07-15 08:48:58 -04:00
test_federation.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_oidc.py Ensure that the OpenID Connect remote ID is a string. (#8190) 2020-08-28 08:56:36 -04:00
test_presence.py Convert stream database to async/await. (#8074) 2020-08-17 07:24:46 -04:00
test_profile.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
test_register.py Allow for make_awaitable's return value to be re-used. (#8261) 2020-09-08 07:26:55 -04:00
test_stats.py Rename 'populate_stats_process_rooms_2' background job back to 'populate_stats_process_rooms' again (#8243) 2020-09-08 11:05:59 +01:00
test_sync.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_typing.py Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
test_user_directory.py Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00