diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-09-17 11:41:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 11:41:54 +0100 |
commit | 1e19ce00bff8d67168d39201cdf9424f7b2f22f6 (patch) | |
tree | 7258ff60d38719b8c3dcda2249e7ce8169d5417f /tests/handlers | |
parent | Fix well-known lookups with the federation certificate whitelist (#5997) (diff) | |
download | synapse-1e19ce00bff8d67168d39201cdf9424f7b2f22f6.tar.xz |
Add 'failure_ts' column to 'destinations' table (#6016)
Track the time that a server started failing at, for general analysis purposes.
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/test_typing.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py index 5d5e324df2..1f2ef5d01f 100644 --- a/tests/handlers/test_typing.py +++ b/tests/handlers/test_typing.py @@ -99,7 +99,12 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase): self.event_source = hs.get_event_sources().sources["typing"] self.datastore = hs.get_datastore() - retry_timings_res = {"destination": "", "retry_last_ts": 0, "retry_interval": 0} + retry_timings_res = { + "destination": "", + "retry_last_ts": 0, + "retry_interval": 0, + "failure_ts": None, + } self.datastore.get_destination_retry_timings.return_value = defer.succeed( retry_timings_res ) |