summary refs log tree commit diff
path: root/tests/module_api/test_api.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-01-20 16:06:52 +0000
committerErik Johnston <erik@matrix.org>2023-01-20 16:06:52 +0000
commitbc8136dd81b049b0ec7934d5b901e897a0740147 (patch)
tree894f71640642a5bf444d475bbb7831cc512d9b13 /tests/module_api/test_api.py
parentNewsfile (diff)
parentNewsfile (diff)
downloadsynapse-github/erikj/fix_wait_for_stream.tar.xz
Merge branch 'erikj/repl_notifieri' into erikj/fix_wait_for_stream github/erikj/fix_wait_for_stream erikj/fix_wait_for_stream
Diffstat (limited to 'tests/module_api/test_api.py')
-rw-r--r--tests/module_api/test_api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py

index 9919938e80..8f88c0117d 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py
@@ -404,6 +404,9 @@ class ModuleApiTestCase(HomeserverTestCase): self.module_api.send_local_online_presence_to([remote_user_id]) ) + # We don't always send out federation immediately, so we advance the clock. + self.reactor.advance(1000) + # Check that a presence update was sent as part of a federation transaction found_update = False calls = (