summaryrefslogtreecommitdiff
path: root/src/test/test_routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-18 14:10:03 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-18 14:10:03 -0500
commitf0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc (patch)
treee60ec9df5264513a3064194aed94f2861bdbc5b2 /src/test/test_routerlist.c
parentf5f35e900987bab063f4f0aea99bf82e03267dc4 (diff)
downloadtor-f0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc.tar.gz
tor-f0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc.zip
fix routerlist/pick_directory_server_impl in light of 12538
Diffstat (limited to 'src/test/test_routerlist.c')
-rw-r--r--src/test/test_routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c
index d86fe9c93c..090a60766c 100644
--- a/src/test/test_routerlist.c
+++ b/src/test/test_routerlist.c
@@ -241,6 +241,8 @@ test_router_pick_directory_server_impl(void *arg)
node_router2 = node_get_mutable_by_id(router2_id);
node_router3 = node_get_mutable_by_id(router3_id);
+ node_router1->is_possible_guard = 1;
+
node_router1->is_running = 0;
node_router3->is_running = 0;
rs = router_pick_directory_server_impl(V3_DIRINFO, flags, NULL);