summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-11-29 17:48:48 +0000
committerGitHub <noreply@github.com>2022-11-29 17:48:48 +0000
commitc29e2c630624beb0b5557aa0f7ccdcedbe62def1 (patch)
tree4103b9896363c8b433a0c95e88ad086422105f7d /tests/storage
parentUpdate changelog (diff)
downloadsynapse-c29e2c630624beb0b5557aa0f7ccdcedbe62def1.tar.xz
Revert "POC delete stale non-e2e devices for users (#14038)" (#14582)
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_client_ips.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py
index a9af1babed..49ad3c1324 100644
--- a/tests/storage/test_client_ips.py
+++ b/tests/storage/test_client_ips.py
@@ -169,8 +169,6 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
             )
         )
 
-        last_seen = self.clock.time_msec()
-
         if after_persisting:
             # Trigger the storage loop
             self.reactor.advance(10)
@@ -191,7 +189,7 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
                         "device_id": device_id,
                         "ip": None,
                         "user_agent": None,
-                        "last_seen": last_seen,
+                        "last_seen": None,
                     },
                 ],
             )