diff options
author | Nick Mills-Barrett <nick@beeper.com> | 2022-09-29 14:55:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 13:55:12 +0000 |
commit | a466164647b969efd2e85168144cd75693443c05 (patch) | |
tree | f69547590e89cecc7788fb06d770d15a5bba37a3 /tests/handlers/test_sync.py | |
parent | Allow admins to require a manual approval process before new accounts can be ... (diff) | |
download | synapse-a466164647b969efd2e85168144cd75693443c05.tar.xz |
Optimise get_rooms_for_user (drop with_stream_ordering) (#13787)
Diffstat (limited to 'tests/handlers/test_sync.py')
-rw-r--r-- | tests/handlers/test_sync.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/handlers/test_sync.py b/tests/handlers/test_sync.py index e3f38fbcc5..ab5c101eb7 100644 --- a/tests/handlers/test_sync.py +++ b/tests/handlers/test_sync.py @@ -159,6 +159,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._event_ref.clear() |