summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-10-12 19:45:11 -0500
committerEric Eastwood <erice@element.io>2022-10-12 19:45:11 -0500
commitc5b1ce8426e9bbd5e823320ac7fc2c4e6ba14a08 (patch)
tree062503bba3f454e20977f6faaac13faab0d5ed1f
parentOrdering off because not setting stream_ordering (diff)
downloadsynapse-c5b1ce8426e9bbd5e823320ac7fc2c4e6ba14a08.tar.xz
-rw-r--r--tests/handlers/test_federation_event.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/handlers/test_federation_event.py b/tests/handlers/test_federation_event.py
index 1348d6bea7..eb9c125e8d 100644
--- a/tests/handlers/test_federation_event.py
+++ b/tests/handlers/test_federation_event.py
@@ -38,6 +38,10 @@ from tests import unittest
 from tests.test_utils import event_injection, make_awaitable
 from tests.test_utils.event_injection import create_event, inject_event
 
+import logging
+
+logger = logging.getLogger(__name__)
+
 
 class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase):
     servlets = [
@@ -1053,6 +1057,7 @@ class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase):
             )
         )
         _add_to_known_event_list(maria_membership_event, historical_state_events)
+        logger.info("maria_membership_event=%s", maria_membership_event.event_id)
 
         historical_state_events.append(maria_membership_event)
         historical_state_event_ids.append(maria_membership_event.event_id)
@@ -1207,9 +1212,6 @@ class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase):
         #     # Latest in the room (newest messages)
         # ]
 
-        import logging
-
-        logger = logging.getLogger(__name__)
         logger.info(
             "pulled_events=%s",
             json.dumps(