summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-08-27 11:39:53 +0100
committerGitHub <noreply@github.com>2020-08-27 11:39:53 +0100
commita466b6797219203cbf539c5c0bbdfe8ab5a41fa4 (patch)
treeba1e9d45f331fb19ab15d479ec6ef06fc23633d3 /tests/handlers
parentMerge branch 'master' into develop (diff)
downloadsynapse-a466b6797219203cbf539c5c0bbdfe8ab5a41fa4.tar.xz
Reduce run-times of tests by advancing the reactor less (#7757)
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_stats.py b/tests/handlers/test_stats.py
index 0e666492f6..88b05c23a0 100644
--- a/tests/handlers/test_stats.py
+++ b/tests/handlers/test_stats.py
@@ -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))