diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-25 16:31:43 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-09-26 13:55:44 +0300 |
commit | 648d5ea67e1bf362363f399c708bc3dcca5b26f6 (patch) | |
tree | 42c1bf5d810b24ce14eb33739f05fd78bbaf6a9c /src/test/test_hs_service.c | |
parent | 4190f602bd9edcd0f9f29458dda59e4d664a8b62 (diff) | |
download | tor-648d5ea67e1bf362363f399c708bc3dcca5b26f6.tar.gz tor-648d5ea67e1bf362363f399c708bc3dcca5b26f6.zip |
hs: Improve logging
Also demote a log message that can occur under natural causes
(if the circuit subsystem is missing descriptors/consensus etc.).
The HS subsystem will naturally retry to connect to intro points,
so no need to make that log user-facing.
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 859476b703..3557974ebc 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -1149,9 +1149,9 @@ test_build_update_descriptors(void *arg) tor_free(node->ri->onion_curve25519_pkey); /* Avoid memleak. */ tor_free(node->ri->cache_info.signing_key_cert); crypto_pk_free(node->ri->onion_pkey); - expect_log_msg_containing("just picked 1 intro points and wanted 3. It " - "currently has 0 intro points. Launching " - "ESTABLISH_INTRO circuit shortly."); + expect_log_msg_containing("just picked 1 intro points and wanted 3 for next " + "descriptor. It currently has 0 intro points. " + "Launching ESTABLISH_INTRO circuit shortly."); teardown_capture_of_logs(); tt_int_op(digest256map_size(service->desc_current->intro_points.map), OP_EQ, 1); |