diff options
author | George Kadianakis <desnacked@riseup.net> | 2018-10-23 16:35:02 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2018-10-23 16:43:54 +0300 |
commit | 29c194e0222a517a55a16fdc2a80a965f406cab8 (patch) | |
tree | d9b753f1852a2e761f41308826f3d6ebe29436c7 /src/test/test_hs_service.c | |
parent | 81c466c34abdcaae9ed78958da50148ccf9939f8 (diff) | |
download | tor-29c194e0222a517a55a16fdc2a80a965f406cab8.tar.gz tor-29c194e0222a517a55a16fdc2a80a965f406cab8.zip |
Func rename: Make it clear that update_all_descriptors() does intro points.
With the new refresh_service_descriptor() function we had both
refresh_service_descriptor() and update_service_descriptor() which is basically
the same thing.
This commit renames update_service_descriptor() to
update_service_descriptor_intro_points() to make it clear it's not a generic
refresh and it's only about intro points.
Commit changes no code.
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index bfe50eb3c6..ee2d71aa75 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -1457,7 +1457,7 @@ test_build_update_descriptors(void *arg) /* Time to test the update of those descriptors. At first, we have no node * in the routerlist so this will find NO suitable node for the IPs. */ setup_full_capture_of_logs(LOG_INFO); - update_all_descriptors(now); + update_all_descriptors_intro_points(now); expect_log_msg_containing("Unable to find a suitable node to be an " "introduction point for service"); teardown_capture_of_logs(); @@ -1508,7 +1508,7 @@ test_build_update_descriptors(void *arg) /* We expect to pick only one intro point from the node above. */ setup_full_capture_of_logs(LOG_INFO); - update_all_descriptors(now); + update_all_descriptors_intro_points(now); tor_free(node->ri->onion_curve25519_pkey); /* Avoid memleak. */ tor_free(node->ri->cache_info.signing_key_cert); tor_free(node->ri->onion_pkey); |