summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-09-20 09:42:00 +0100
committerErik Johnston <erik@matrix.org>2021-09-21 08:58:28 +0100
commit16e85805719483dfd4a9b4b3972de84e173875d6 (patch)
treeb3c694003aa3a38bb9faf0d5bb86ce7469e1cb4a /tests
parentFix tests (diff)
downloadsynapse-erikj/faster_json_response.tar.xz
Diffstat (limited to 'tests')
-rw-r--r--tests/test_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_server.py b/tests/test_server.py
index 7f469defd2..f2ffbc895b 100644
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -105,7 +105,7 @@ class JsonResourceTests(unittest.TestCase):
         def _callback(request, **kwargs):
             d = Deferred()
             d.addCallback(_throw)
-            self.reactor.callLater(1, d.callback, True)
+            self.reactor.callLater(0.5, d.callback, True)
             return make_deferred_yieldable(d)
 
         res = JsonResource(self.homeserver)