From 73c20d961fa964d6c9dc466c7c34eebbd6cc993f Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Mon, 3 Jun 2024 16:45:08 -0500 Subject: [PATCH] Use method to get instance name in tests --- tests/replication/storage/test_events.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/replication/storage/test_events.py b/tests/replication/storage/test_events.py index 3df7fb89b5..4e41a1c912 100644 --- a/tests/replication/storage/test_events.py +++ b/tests/replication/storage/test_events.py @@ -155,7 +155,8 @@ class EventsWorkerStoreTestCase(BaseWorkerStoreTestCase): "invite", event.event_id, PersistedEventPosition( - "master", event.internal_metadata.stream_ordering + self.hs.get_instance_name(), + event.internal_metadata.stream_ordering, ), RoomVersions.V1.identifier, )