mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 14:04:47 -04:00
Give tests.server.setup_test_homeserver
(nominally!) the same behaviour
by calling into `make_test_homeserver_synchronous`. The function *could* have been inlined at this point but the function is big enough and it felt fine to leave it as is. At least there isn't a confusing name clash anymore!
This commit is contained in:
parent
b3fd99b74a
commit
7be88fbf48
1 changed files with 3 additions and 0 deletions
|
@ -850,4 +850,7 @@ def setup_test_homeserver(
|
||||||
|
|
||||||
hs.get_auth_handler().validate_hash = validate_hash
|
hs.get_auth_handler().validate_hash = validate_hash
|
||||||
|
|
||||||
|
# Make the threadpool and database transactions synchronous for testing.
|
||||||
|
make_test_homeserver_synchronous(hs)
|
||||||
|
|
||||||
return hs
|
return hs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue