diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-23 00:12:21 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-23 09:28:46 +0000 |
commit | 4bd597d9fcb8e6c6888ee3e8fa683ba812272997 (patch) | |
tree | 14560ff81374c7d41d1ed24af3f3f47e46f5373c /tests | |
parent | MatrixFederationHttpClient: clean up (diff) | |
download | synapse-4bd597d9fcb8e6c6888ee3e8fa683ba812272997.tar.xz |
push federation retry limiter down to matrixfederationclient
rather than having to instrument everywhere we make a federation call, make the MatrixFederationHttpClient manage the retry limiter.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_typing.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py index f88d2be7c5..dbe50383da 100644 --- a/tests/handlers/test_typing.py +++ b/tests/handlers/test_typing.py @@ -192,6 +192,7 @@ class TypingNotificationsTestCase(unittest.TestCase): ), json_data_callback=ANY, long_retries=True, + backoff_on_404=True, ), defer.succeed((200, "OK")) ) @@ -263,6 +264,7 @@ class TypingNotificationsTestCase(unittest.TestCase): ), json_data_callback=ANY, long_retries=True, + backoff_on_404=True, ), defer.succeed((200, "OK")) ) |