summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-06-25 09:57:34 +0100
committerGitHub <noreply@github.com>2024-06-25 09:57:34 +0100
commita98cb87bee18c9028d03676ce544860239e1ff34 (patch)
treef36b5fcd516a41173ba3c7c9fff3d01205495c1c /tests
parentAdd `is_invite` filtering to Sliding Sync `/sync` (#17335) (diff)
downloadsynapse-a98cb87bee18c9028d03676ce544860239e1ff34.tar.xz
Revert "Reduce device lists replication traffic." (#17360)
Reverts element-hq/synapse#17333

It looks like master was still sending out replication RDATA with the
old format... somehow
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_devices.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/storage/test_devices.py b/tests/storage/test_devices.py
index ba01b038ab..7f975d04ff 100644
--- a/tests/storage/test_devices.py
+++ b/tests/storage/test_devices.py
@@ -36,14 +36,6 @@ class DeviceStoreTestCase(HomeserverTestCase):
     def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None:
         self.store = hs.get_datastores().main
 
-    def default_config(self) -> JsonDict:
-        config = super().default_config()
-
-        # We 'enable' federation otherwise `get_device_updates_by_remote` will
-        # throw an exception.
-        config["federation_sender_instances"] = ["master"]
-        return config
-
     def add_device_change(self, user_id: str, device_ids: List[str], host: str) -> None:
         """Add a device list change for the given device to
         `device_lists_outbound_pokes` table.