[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.3.3] Repair the legacy_hs/pick_tor2web_rendezvous_node unit test



commit f1c1328f8518ad46f09d36ef3545a7ac266658eb
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Apr 16 11:52:57 2018 -0400

    Repair the legacy_hs/pick_tor2web_rendezvous_node unit test
    
    It tried to pick nodes for which only routerinfo_t items are set,
    but without setting UseMicroDescriptors to 0.  This won't work any
    more, now that we're strict about using the right descriptor types
    due to 25691/25692/25213.
---
 src/test/test_hs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index 9189bb65b..64448de51 100644
--- a/src/test/test_hs.c
+++ b/src/test/test_hs.c
@@ -361,6 +361,7 @@ test_pick_tor2web_rendezvous_node(void *arg)
 
   /* Parse Tor2webRendezvousPoints as a routerset. */
   options->Tor2webRendezvousPoints = routerset_new();
+  options->UseMicrodescriptors = 0;
   retval = routerset_parse(options->Tor2webRendezvousPoints,
                            tor2web_rendezvous_str,
                            "test_tor2web_rp");



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits