diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-09-12 12:50:36 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-13 14:54:49 -0400 |
commit | 6b794c7ed0a86e5c8de03b3a82b2299758f9e017 (patch) | |
tree | 08146e82a41eabc02bc23efefc322ca9436689fd /src/test/test_descriptors.inc | |
parent | cf8a2b156769023e583b6c6374ac6de0134712f1 (diff) | |
download | tor-6b794c7ed0a86e5c8de03b3a82b2299758f9e017.tar.gz tor-6b794c7ed0a86e5c8de03b3a82b2299758f9e017.zip |
prop224 test: Test client desc expiration in tests.
We enrich the test_client_cache() test in two ways:
a) We check that transitioning time periods also cleans up expired
descriptors in client memory.
b) We test hs_cache_lookup_as_client() instead of
lookup_v3_desc_as_client(). The former is a higher level function
which calls the latter and allows us to test deeper into the
subsystem.
Diffstat (limited to 'src/test/test_descriptors.inc')
0 files changed, 0 insertions, 0 deletions