Skip to content
  • George Kadianakis's avatar
    prop224 test: Test client desc expiration in tests. · 6b794c7e
    George Kadianakis authored and Nick Mathewson's avatar Nick Mathewson committed
    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.
    6b794c7e