summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-11-11 17:19:51 +0000
committerErik Johnston <erik@matrix.org>2015-11-11 17:19:51 +0000
commite21cef9bb56493cf05fa82e2d3262df213657cf6 (patch)
tree54fada4d427cfa90dc1a327ac01cc73c9a0fabad /tests/utils.py
parentMerge pull request #358 from matrix-org/daniel/publicwritable (diff)
parentFix param style to work on both sqlite and postgres (diff)
downloadsynapse-e21cef9bb56493cf05fa82e2d3262df213657cf6.tar.xz
Merge pull request #359 from matrix-org/markjh/incremental_indexing
Incremental background updates for db indexes
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index ca2c33cf8e..91040c2efd 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -243,6 +243,9 @@ class MockClock(object):
             else:
                 self.timers.append(t)
 
+    def advance_time_msec(self, ms):
+        self.advance_time(ms / 1000.)
+
 
 class SQLiteMemoryDbPool(ConnectionPool, object):
     def __init__(self):