summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-09-25 12:02:57 +0100
committerGitHub <noreply@github.com>2018-09-25 12:02:57 +0100
commit4c3e7eeec50d82982177a6eaf3114eed08346d9d (patch)
treecf4b9343618382b19b6650c9ab2969a7220a5017 /tests
parentadded "media-src: 'self'" to CSP for resources (#3578) (diff)
parentNewsfile (diff)
downloadsynapse-4c3e7eeec50d82982177a6eaf3114eed08346d9d.tar.xz
Merge pull request #3932 from matrix-org/erikj/auto_start_expiring_caches
Fix some instances of ExpiringCache not expiring cache items
Diffstat (limited to 'tests')
-rw-r--r--tests/util/test_expiring_cache.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/util/test_expiring_cache.py b/tests/util/test_expiring_cache.py
index 5cbada4eda..50bc7702d2 100644
--- a/tests/util/test_expiring_cache.py
+++ b/tests/util/test_expiring_cache.py
@@ -65,7 +65,6 @@ class ExpiringCacheTestCase(unittest.TestCase):
     def test_time_eviction(self):
         clock = MockClock()
         cache = ExpiringCache("test", clock, expiry_ms=1000)
-        cache.start()
 
         cache["key"] = 1
         clock.advance_time(0.5)