aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_rendcache.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-08-13 14:20:27 -0400
committerNick Mathewson <nickm@torproject.org>2020-08-13 14:20:27 -0400
commit72484a4953d744754b3b6b025242ef668e3f017a (patch)
treed334909e824c0e5f81091cb6501064b58f2df81e /src/test/test_rendcache.c
parentaeafb7f44f07136101c06ea2986b295ef9915c9c (diff)
parentf9bb49d870045fa6e1a2570a65f0583066d8359d (diff)
downloadtor-72484a4953d744754b3b6b025242ef668e3f017a.tar.gz
tor-72484a4953d744754b3b6b025242ef668e3f017a.zip
Merge remote-tracking branch 'tor-gitlab/mr/125' into maint-0.3.5
Diffstat (limited to 'src/test/test_rendcache.c')
-rw-r--r--src/test/test_rendcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c
index 4f544cf21c..93f9f82953 100644
--- a/src/test/test_rendcache.c
+++ b/src/test/test_rendcache.c
@@ -1101,6 +1101,7 @@ test_rend_cache_clean_v2_descs_as_dir(void *data)
desc->timestamp = now;
desc->pk = pk_generate(0);
e->parsed = desc;
+ rend_cache_increment_allocation(rend_cache_entry_allocation(e));
digestmap_set(rend_cache_v2_dir, key, e);
/* Set the cutoff to minus 10 seconds. */
@@ -1250,4 +1251,3 @@ struct testcase_t rend_cache_tests[] = {
test_rend_cache_validate_intro_point_failure, 0, NULL, NULL },
END_OF_TESTCASES
};
-