diff options
author | Erik Johnston <erik@matrix.org> | 2023-06-08 13:14:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 13:14:40 +0100 |
commit | c485ed1c5a4c62ae555531cfd001a5e5f8bc2e44 (patch) | |
tree | 1cdd15b55d32190644a3a61aab1cc039fce7b022 /tests/handlers | |
parent | Quick & dirty metric for background update status (#15740) (diff) | |
download | synapse-c485ed1c5a4c62ae555531cfd001a5e5f8bc2e44.tar.xz |
Clear event caches when we purge history (#15609)
This should help a little with #13476 --------- Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/test_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_sync.py b/tests/handlers/test_sync.py index 0d9a3de92a..9f035a02dc 100644 --- a/tests/handlers/test_sync.py +++ b/tests/handlers/test_sync.py @@ -163,7 +163,7 @@ class SyncTestCase(tests.unittest.HomeserverTestCase): # Blow away caches (supported room versions can only change due to a restart). self.store.get_rooms_for_user_with_stream_ordering.invalidate_all() self.store.get_rooms_for_user.invalidate_all() - self.get_success(self.store._get_event_cache.clear()) + self.store._get_event_cache.clear() self.store._event_ref.clear() # The rooms should be excluded from the sync response. |