summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-04 10:21:25 +0100
committerErik Johnston <erik@matrix.org>2017-07-04 10:21:25 +0100
commit29a4066a4da052efe0ed577c0f667fee9e6fa701 (patch)
treebe34c667ba9b871a8f62bbca46b72da85e4da9d0 /tests
parentUpdate README (diff)
downloadsynapse-29a4066a4da052efe0ed577c0f667fee9e6fa701.tar.xz
Update test
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test__base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test__base.py b/tests/storage/test__base.py
index 281eb16254..3cfa21c9f8 100644
--- a/tests/storage/test__base.py
+++ b/tests/storage/test__base.py
@@ -241,7 +241,7 @@ class CacheDecoratorTestCase(unittest.TestCase):
         callcount2 = [0]
 
         class A(object):
-            @cached(max_entries=20)  # HACK: This makes it 2 due to cache factor
+            @cached(max_entries=4)  # HACK: This makes it 2 due to cache factor
             def func(self, key):
                 callcount[0] += 1
                 return key