summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server.py')
-rw-r--r--tests/server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/server.py b/tests/server.py
index 017e5cf635..b29df37595 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -850,4 +850,7 @@ def setup_test_homeserver(
 
     hs.get_auth_handler().validate_hash = validate_hash
 
+    # Make the threadpool and database transactions synchronous for testing.
+    make_test_homeserver_synchronous(hs)
+
     return hs