Fix offending unittest and add changes file for #23862.

This commit is contained in:
George Kadianakis 2017-10-25 19:54:48 +03:00
parent dfd3ed5bdc
commit 1a6814c096
2 changed files with 6 additions and 2 deletions

5
changes/bug23682 Normal file
View File

@ -0,0 +1,5 @@
o Minor bugfixes (entry guards):
- Tor now updates its guard state when it reads a consensus regardless of
whether it's missing descriptors. That makes tor use its primary guards
to fetch descriptors in some edge cases where it would have used fallback
directories in the past. Fixes bug 23862; bugfix on 0.3.0.1-alpha.

View File

@ -508,8 +508,7 @@ test_directory_guard_fetch_with_no_dirinfo(void *arg)
tt_int_op(retval, OP_EQ, 0);
/* Make sure that our primary guard was chosen */
/* BUG #23862 falls back to dirserver list!! */
expect_log_msg_containing("falling back to dirserver list");
expect_log_msg_containing("Selected primary guard router3");
done:
tor_free(consensus_text_md);