diff options
author | Erik Johnston <erik@matrix.org> | 2022-05-26 10:48:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 09:48:12 +0000 |
commit | b83bc5fab57b37f75a79d02213d6032c586fd36e (patch) | |
tree | 861fba116d4efff42d9d6922c49754c73163c71d /tests/handlers/test_federation.py | |
parent | Allow bigger responses to `/federation/v1/state` (#12877) (diff) | |
download | synapse-b83bc5fab57b37f75a79d02213d6032c586fd36e.tar.xz |
Pull out less state when handling gaps mk2 (#12852)
Diffstat (limited to 'tests/handlers/test_federation.py')
-rw-r--r-- | tests/handlers/test_federation.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py index bef6c2b776..ec00900621 100644 --- a/tests/handlers/test_federation.py +++ b/tests/handlers/test_federation.py @@ -276,7 +276,11 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase): # federation handler wanting to backfill the fake event. self.get_success( federation_event_handler._process_received_pdu( - self.OTHER_SERVER_NAME, event, state=current_state + self.OTHER_SERVER_NAME, + event, + state_ids={ + (e.type, e.state_key): e.event_id for e in current_state + }, ) ) |