diff options
author | Erik Johnston <erik@matrix.org> | 2022-06-29 11:32:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 10:32:38 +0000 |
commit | 92a0c18ef0f42b80e382667141e6593ab30e3776 (patch) | |
tree | 5785ed61de85b649bb7e75445a197d28340fe6f0 /tests/storage/test_event_push_actions.py | |
parent | Document the `--report-stats` argument (#13029) (diff) | |
download | synapse-92a0c18ef0f42b80e382667141e6593ab30e3776.tar.xz |
Improve performance of getting unread counts in rooms (#13119)
Diffstat (limited to 'tests/storage/test_event_push_actions.py')
-rw-r--r-- | tests/storage/test_event_push_actions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/storage/test_event_push_actions.py b/tests/storage/test_event_push_actions.py index ef069a8110..a5a2dab21c 100644 --- a/tests/storage/test_event_push_actions.py +++ b/tests/storage/test_event_push_actions.py @@ -86,6 +86,8 @@ class EventPushActionsStoreTestCase(HomeserverTestCase): event.internal_metadata.is_outlier.return_value = False event.depth = stream + self.store._events_stream_cache.entity_has_changed(room_id, stream) + self.get_success( self.store.db_pool.simple_insert( table="events", |