diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-08-27 11:39:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 11:39:53 +0100 |
commit | a466b6797219203cbf539c5c0bbdfe8ab5a41fa4 (patch) | |
tree | ba1e9d45f331fb19ab15d479ec6ef06fc23633d3 /tests/util | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-a466b6797219203cbf539c5c0bbdfe8ab5a41fa4.tar.xz |
Reduce run-times of tests by advancing the reactor less (#7757)
Diffstat (limited to 'tests/util')
-rw-r--r-- | tests/util/test_retryutils.py | 2 |
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) |