diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-11 17:19:51 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-11 17:19:51 +0000 |
commit | e21cef9bb56493cf05fa82e2d3262df213657cf6 (patch) | |
tree | 54fada4d427cfa90dc1a327ac01cc73c9a0fabad /tests/utils.py | |
parent | Merge pull request #358 from matrix-org/daniel/publicwritable (diff) | |
parent | Fix param style to work on both sqlite and postgres (diff) | |
download | synapse-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.py | 3 |
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): |