summary refs log tree commit diff
path: root/tests/storage/test_event_federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-05-10 15:35:08 +0100
committerGitHub <noreply@github.com>2022-05-10 15:35:08 +0100
commit147f098fb4ac7ae435bae7d29c05f93b43472854 (patch)
tree491efd600e8a45898e4a6a2928735871799430e7 /tests/storage/test_event_federation.py
parentAdd helper class for testing request cancellation (#12630) (diff)
downloadsynapse-147f098fb4ac7ae435bae7d29c05f93b43472854.tar.xz
Stop writing to `event_reference_hashes` (#12679)
This table is never read, since #11794. We stop writing to it; in future we can
drop it altogether.
Diffstat (limited to 'tests/storage/test_event_federation.py')
-rw-r--r--tests/storage/test_event_federation.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/storage/test_event_federation.py b/tests/storage/test_event_federation.py

index 645d564d1c..d92a9ac5b7 100644 --- a/tests/storage/test_event_federation.py +++ b/tests/storage/test_event_federation.py
@@ -58,15 +58,6 @@ class EventFederationWorkerStoreTestCase(tests.unittest.HomeserverTestCase): (room_id, event_id), ) - txn.execute( - ( - "INSERT INTO event_reference_hashes " - "(event_id, algorithm, hash) " - "VALUES (?, 'sha256', ?)" - ), - (event_id, bytearray(b"ffff")), - ) - for i in range(0, 20): self.get_success( self.store.db_pool.runInteraction("insert", insert_event, i)