From e3ae6271b0bbec7801d8326fa5f0c5b1bc7bfba5 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Fri, 9 Jun 2023 11:04:22 -0600 Subject: [PATCH] tests/media/test_media_storage: add timeout_ms Signed-off-by: Sumner Evans --- tests/media/test_media_storage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/media/test_media_storage.py b/tests/media/test_media_storage.py index f0f2da65db0b..3792685d9102 100644 --- a/tests/media/test_media_storage.py +++ b/tests/media/test_media_storage.py @@ -294,7 +294,9 @@ def _req( self.assertEqual( self.fetches[0][2], "/_matrix/media/r0/download/" + self.media_id ) - self.assertEqual(self.fetches[0][3], {"allow_remote": "false"}) + self.assertEqual( + self.fetches[0][3], {"allow_remote": "false", "timeout_ms": "20000"} + ) headers = { b"Content-Length": [b"%d" % (len(self.test_image.data))],