diff options
author | Nick Mills-Barrett <nick@beeper.com> | 2022-11-11 10:51:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 10:51:49 +0000 |
commit | 3a4f80f8c6f39c5549c56c044e10b35064d8d22f (patch) | |
tree | a3d5baf8775d304c63caa7bbb00a28c854dad778 /tests/replication | |
parent | Remove duplicated code to evict entries. (#14410) (diff) | |
download | synapse-3a4f80f8c6f39c5549c56c044e10b35064d8d22f.tar.xz |
Merge/remove `Slaved*` stores into `WorkerStores` (#14375)
Diffstat (limited to 'tests/replication')
-rw-r--r-- | tests/replication/slave/storage/test_events.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/replication/slave/storage/test_events.py b/tests/replication/slave/storage/test_events.py index d42e36cdf1..96f3880923 100644 --- a/tests/replication/slave/storage/test_events.py +++ b/tests/replication/slave/storage/test_events.py @@ -21,11 +21,11 @@ from synapse.api.constants import ReceiptTypes from synapse.api.room_versions import RoomVersions from synapse.events import FrozenEvent, _EventInternalMetadata, make_event_from_dict from synapse.handlers.room import RoomEventSource -from synapse.replication.slave.storage.events import SlavedEventStore from synapse.storage.databases.main.event_push_actions import ( NotifCounts, RoomNotifCounts, ) +from synapse.storage.databases.main.events_worker import EventsWorkerStore from synapse.storage.roommember import GetRoomsForUserWithStreamOrdering, RoomsForUser from synapse.types import PersistedEventPosition @@ -58,9 +58,9 @@ def patch__eq__(cls): return unpatch -class SlavedEventStoreTestCase(BaseSlavedStoreTestCase): +class EventsWorkerStoreTestCase(BaseSlavedStoreTestCase): - STORE_TYPE = SlavedEventStore + STORE_TYPE = EventsWorkerStore def setUp(self): # Patch up the equality operator for events so that we can check |