mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 22:42:23 +01:00
Disable user_directory updates for UTs
Fix flakiness in the UTs caused by the user_directory being updated in the background
This commit is contained in:
parent
e9f7677170
commit
142fb0a7d4
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
|
||||||
config.email_enable_notifs = False
|
config.email_enable_notifs = False
|
||||||
config.block_non_admin_invites = 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.use_frozen_dicts = True
|
||||||
config.database_config = {"name": "sqlite3"}
|
config.database_config = {"name": "sqlite3"}
|
||||||
config.ldap_enabled = False
|
config.ldap_enabled = False
|
||||||
|
|
Loading…
Reference in a new issue