summary refs log tree commit diff
path: root/tests/util/test_retryutils.py
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/util/test_retryutils.py
parentMerge branch 'master' into develop (diff)
downloadsynapse-a466b6797219203cbf539c5c0bbdfe8ab5a41fa4.tar.xz
Reduce run-times of tests by advancing the reactor less (#7757)
Diffstat (limited to '')
-rw-r--r--tests/util/test_retryutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/test_retryutils.py b/tests/util/test_retryutils.py
index bc42ffce88..5f46ed0cef 100644
--- a/tests/util/test_retryutils.py
+++ b/tests/util/test_retryutils.py
@@ -91,7 +91,7 @@ class RetryLimiterTestCase(HomeserverTestCase):
         #
         # one more go, with success
         #
-        self.pump(MIN_RETRY_INTERVAL * RETRY_MULTIPLIER * 2.0)
+        self.reactor.advance(MIN_RETRY_INTERVAL * RETRY_MULTIPLIER * 2.0)
         limiter = self.get_success(get_retry_limiter("test_dest", self.clock, store))
 
         self.pump(1)