diff options
| author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-12-08 11:35:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-08 11:35:49 -0500 |
| commit | da777207528513c858395758bf4c023da2c2c1a3 (patch) | |
| tree | afbf8a99fb0577bfab2f9da1c8aa67032f51b318 /tests | |
| parent | Bump certifi from 2021.10.8 to 2022.12.7 (#14645) (diff) | |
| download | synapse-da777207528513c858395758bf4c023da2c2c1a3.tar.xz | |
Check the stream position before checking if the cache is empty. (#14639)
An empty cache does not mean the entity has no changed, if it is earlier than the earliest known stream position return that the entity *has* changed since the cache cannot accurately answer that query.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/util/test_stream_change_cache.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/util/test_stream_change_cache.py b/tests/util/test_stream_change_cache.py |
