From e4982add7a416928698f6b996425102371637c0b Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 17 May 2024 13:06:48 +0100 Subject: [PATCH] Fix tests take 2 --- tests/handlers/test_room_member.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/handlers/test_room_member.py b/tests/handlers/test_room_member.py index 2f7ebef7fe..df43ce581c 100644 --- a/tests/handlers/test_room_member.py +++ b/tests/handlers/test_room_member.py @@ -275,6 +275,7 @@ def test_local_users_joining_on_another_worker_contribute_to_rate_limit( action=Membership.JOIN, ), LimitExceededError, + by=0.5, ) # Try to join as Chris on the original worker. Should get denied because Alice @@ -287,6 +288,7 @@ def test_local_users_joining_on_another_worker_contribute_to_rate_limit( action=Membership.JOIN, ), LimitExceededError, + by=0.5, )