summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erikj@matrix.org>2023-09-04 14:04:43 +0100
committerGitHub <noreply@github.com>2023-09-04 14:04:43 +0100
commitf84baecb6f57b5ddb570c43574f774fae5e8afed (patch)
tree2caa954af94803230112bdc64f885588afa82027 /tests
parentBump furo from 2023.7.26 to 2023.8.19 (#16238) (diff)
downloadsynapse-f84baecb6f57b5ddb570c43574f774fae5e8afed.tar.xz
Don't reset retry timers on "valid" error codes (#16221)
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index 2a295da3a0..43c513b157 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -251,8 +251,8 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             ),
             json_data_callback=ANY,
             long_retries=True,
-            backoff_on_404=True,
             try_trailing_slash_on_400=True,
+            backoff_on_all_error_codes=True,
         )
 
     def test_started_typing_remote_recv(self) -> None:
@@ -366,7 +366,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             ),
             json_data_callback=ANY,
             long_retries=True,
-            backoff_on_404=True,
+            backoff_on_all_error_codes=True,
             try_trailing_slash_on_400=True,
         )