[tor-commits] [tor/master] test/nodelist: Remove ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD

teor at torproject.org teor at torproject.org
Mon Jan 20 05:53:03 UTC 2020


commit af30be9515931d3eafbd6efc8e2caf1122ad6bec
Author: teor <teor at torproject.org>
Date:   Mon Jan 20 13:42:13 2020 +1000

    test/nodelist: Remove ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD
    
    When we removed obsolete consensus methods in 32695, we also
    removed ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD, so we need to
    remove it from the routerstatus format tests.
    
    Part of 20218.
---
 src/test/test_nodelist.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/test/test_nodelist.c b/src/test/test_nodelist.c
index 388cd74f3..fbbbf0a99 100644
--- a/src/test/test_nodelist.c
+++ b/src/test/test_nodelist.c
@@ -1272,10 +1272,8 @@ test_nodelist_routerstatus_has_visibly_changed(void *arg)
     tor_free(fmt);                                                        \
     fmt_orig = routerstatus_format_entry(&rs_orig, NULL, NULL,            \
                           NS_CONTROL_PORT,                                \
-                          ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD,        \
                           NULL);                                          \
     fmt = routerstatus_format_entry(&rs, NULL, NULL, NS_CONTROL_PORT,     \
-                          ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD,        \
                           NULL);                                          \
     tt_assert(fmt_orig);                                                  \
     tt_assert(fmt);                                                       \





More information about the tor-commits mailing list