diff options
author | Erik Johnston <erikj@element.io> | 2024-05-18 12:03:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 12:03:30 +0100 |
commit | 52af16c56175160512420d8654ac558a1e5af541 (patch) | |
tree | 7c9a9e4dbae6265ebff3cb08809a6fbac7fcbfc6 /tests/handlers/test_federation.py | |
parent | Federated Knocking Endpoints added (missing in Docu) (#17058) (diff) | |
download | synapse-52af16c56175160512420d8654ac558a1e5af541.tar.xz |
Add a short sleep if the request is rate-limited (#17210)
This helps prevent clients from "tight-looping" retrying their request.
Diffstat (limited to 'tests/handlers/test_federation.py')
-rw-r--r-- | tests/handlers/test_federation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py index b819b60c5d..3fe5b0a1b4 100644 --- a/tests/handlers/test_federation.py +++ b/tests/handlers/test_federation.py @@ -483,6 +483,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase): event.room_version, ), exc=LimitExceededError, + by=0.5, ) def _build_and_send_join_event( |