diff options
author | Erik Johnston <erik@matrix.org> | 2023-03-31 13:51:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 13:51:51 +0100 |
commit | 6204c3663eabec57e897e7e75180b959a936e1fe (patch) | |
tree | b4c4e7e6b91b60c7c40670a6a149acb0c753e491 /tests/storage | |
parent | Revert "Set thread_id column to non-null for event_push_{actions,actions_stag... (diff) | |
download | synapse-6204c3663eabec57e897e7e75180b959a936e1fe.tar.xz |
Revert pruning of old devices (#15360)
* Revert "Fix registering a device on an account with lots of devices (#15348)" This reverts commit f0d8f66eaaacfa75bed65bc5d0c602fbc5339c85. * Revert "Delete stale non-e2e devices for users, take 3 (#15183)" This reverts commit 78cdb72cd6b0e007c314d9fed9f629dfc5b937a6.
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_client_ips.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py index f989986538..cd0079871c 100644 --- a/tests/storage/test_client_ips.py +++ b/tests/storage/test_client_ips.py @@ -170,8 +170,6 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase): ) ) - last_seen = self.clock.time_msec() - if after_persisting: # Trigger the storage loop self.reactor.advance(10) @@ -192,7 +190,7 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase): "device_id": device_id, "ip": None, "user_agent": None, - "last_seen": last_seen, + "last_seen": None, }, ], ) |