mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-19 07:07:54 -04:00
Reduce run-times of tests by advancing the reactor less (#7757)
This commit is contained in:
parent
9cfc120233
commit
a466b67972
7 changed files with 9 additions and 8 deletions
|
@ -256,7 +256,7 @@ class StatsRoomTests(unittest.HomeserverTestCase):
|
|||
# self.handler.notify_new_event()
|
||||
|
||||
# We need to let the delta processor advance…
|
||||
self.pump(10 * 60)
|
||||
self.reactor.advance(10 * 60)
|
||||
|
||||
# Get the slices! There should be two -- day 1, and day 2.
|
||||
r = self.get_success(self.store.get_statistics_for_subject("room", room_1, 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue