diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-05 17:16:03 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-09-05 17:16:45 +0100 |
commit | 3ff0422d2dbfa668df365da99a4b7caeea85528d (patch) | |
tree | bc0bd307ad4c40f86d839a12c97d483d99c47a19 /tests | |
parent | Newsfile (diff) | |
download | synapse-3ff0422d2dbfa668df365da99a4b7caeea85528d.tar.xz |
Make redaction retention period configurable
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_redaction.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/storage/test_redaction.py b/tests/storage/test_redaction.py index 0c9f3c7071..f0e86d41a8 100644 --- a/tests/storage/test_redaction.py +++ b/tests/storage/test_redaction.py @@ -344,7 +344,9 @@ class RedactionTestCase(unittest.HomeserverTestCase): {"content": {"body": "t", "msgtype": "message"}}, json.loads(event_json) ) - # Advance by 30 days + # Advance by 30 days, then advance again to ensure that the looping call + # for updating the stream position gets called and then the looping call + # for the censoring gets called. self.reactor.advance(60 * 60 * 24 * 31) self.reactor.advance(60 * 60 * 2) |