summary refs log tree commit diff
path: root/tests/storage/test_sliding_sync_tables.py
diff options
context:
space:
mode:
authorEric Eastwood <eric.eastwood@beta.gouv.fr>2024-09-11 12:16:24 -0500
committerGitHub <noreply@github.com>2024-09-11 12:16:24 -0500
commit16af80b8fbdeabcdea222b86c6f6b9da2f794565 (patch)
treed060fe49e9d9b0b3fe62cc7ac52cf6286f6b8b26 /tests/storage/test_sliding_sync_tables.py
parentSliding Sync: Make sure we get up-to-date information from `get_sliding_sync_... (diff)
downloadsynapse-16af80b8fbdeabcdea222b86c6f6b9da2f794565.tar.xz
Sliding Sync: Use Sliding Sync tables for sorting (#17693)
Use Sliding Sync tables for sorting
(`bulk_get_last_event_pos_in_room_before_stream_ordering(...)` ->
`_bulk_get_max_event_pos(...)`)
Diffstat (limited to 'tests/storage/test_sliding_sync_tables.py')
-rw-r--r--tests/storage/test_sliding_sync_tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_sliding_sync_tables.py b/tests/storage/test_sliding_sync_tables.py

index 61dccc8077..35917505a4 100644 --- a/tests/storage/test_sliding_sync_tables.py +++ b/tests/storage/test_sliding_sync_tables.py
@@ -34,11 +34,11 @@ from synapse.rest.client import login, room from synapse.server import HomeServer from synapse.storage.databases.main.events import DeltaState from synapse.storage.databases.main.events_bg_updates import ( - _BackgroundUpdates, _resolve_stale_data_in_sliding_sync_joined_rooms_table, _resolve_stale_data_in_sliding_sync_membership_snapshots_table, ) from synapse.types import create_requester +from synapse.types.storage import _BackgroundUpdates from synapse.util import Clock from tests.test_utils.event_injection import create_event