From 0ab87e583facbac6f5af8b44cbb3f134e257408b Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 30 May 2022 08:08:37 -0600 Subject: [PATCH] tests/media_storage: add async media parameter Signed-off-by: Sumner Evans --- tests/rest/media/v1/test_media_storage.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/rest/media/v1/test_media_storage.py b/tests/rest/media/v1/test_media_storage.py index 952a9202727c..e2800e4a2eb5 100644 --- a/tests/rest/media/v1/test_media_storage.py +++ b/tests/rest/media/v1/test_media_storage.py @@ -280,7 +280,13 @@ 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", + "fi.mau.msc2246.max_stall_ms": "20000", + }, + ) headers = { b"Content-Length": [b"%d" % (len(self.test_image.data))],