Reduce run-times of tests by advancing the reactor less (#7757)

This commit is contained in:
Andrew Morgan 2020-08-27 11:39:53 +01:00 committed by GitHub
parent 9cfc120233
commit a466b67972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 8 deletions

View file

@ -170,7 +170,7 @@ class EmailPusherTests(HomeserverTestCase):
last_stream_ordering = pushers[0]["last_stream_ordering"]
# Advance time a bit, so the pusher will register something has happened
self.pump(100)
self.pump(10)
# It hasn't succeeded yet, so the stream ordering shouldn't have moved
pushers = self.get_success(