diff --git a/tests/events/test_presence_router.py b/tests/events/test_presence_router.py index f834fbe5c3..e48983ddfe 100644 --- a/tests/events/test_presence_router.py +++ b/tests/events/test_presence_router.py @@ -266,9 +266,6 @@ class PresenceRouterTestCase(FederatingHomeserverTestCase): self.assertEqual(presence_update.state, "online") self.assertEqual(presence_update.status_msg, "boop") - # Advance time a sufficient amount to avoid rate limiting. - self.reactor.advance(30) - # Have all three users send presence send_presence_update( self, diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py index 21a348b602..b6ba472d7d 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py @@ -995,9 +995,6 @@ def _test_sending_local_online_presence_to_local_user( # Now we check that we don't receive *offline* updates using ModuleApi.send_local_online_presence_to. - # Advance time a sufficient amount to avoid rate limiting. - test_case.reactor.advance(30) - # Presence sender goes offline send_presence_update( test_case,