Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Be less aggressive about shaving off advances
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Jul 28, 2020
1 parent fed5f3e commit 9aea07e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/push/test_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _check_for_mail(self):
last_stream_ordering = pushers[0]["last_stream_ordering"]

# Advance time a bit, so the pusher will register something has happened
self.pump()
self.pump(10)

# It hasn't succeeded yet, so the stream ordering shouldn't have moved
pushers = self.get_success(
Expand Down
2 changes: 1 addition & 1 deletion tests/storage/test_cleanup_extrems.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def test_send_dummy_event(self):

# Pump the reactor repeatedly so that the background updates have a
# chance to run.
self.reactor.advance(10 * 60)
self.pump(20)

latest_event_ids = self.get_success(
self.store.get_latest_event_ids_in_room(self.room_id)
Expand Down

0 comments on commit 9aea07e

Please sign in to comment.