Skip to content
Snippets Groups Projects
Commit 142fb0a7 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Disable user_directory updates for UTs

Fix flakiness in the UTs caused by the user_directory being updated in the
background
parent e9f76771
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,10 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
config.email_enable_notifs = False
config.block_non_admin_invites = False
# disable user directory updates, because they get done in the
# background, which upsets the test runner.
config.update_user_directory = False
config.use_frozen_dicts = True
config.database_config = {"name": "sqlite3"}
config.ldap_enabled = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment