diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-07 13:40:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-07 13:40:38 -0400 |
commit | 075c52084dbcf09cc73efbc2bbf34c7148314329 (patch) | |
tree | 1e1b56741e186d33e11b39fe626a5e5e2756bae6 /src/test/test_dir_common.c | |
parent | a49fee1c29a66455ac9cbff1a5bde58f19928f94 (diff) | |
download | tor-075c52084dbcf09cc73efbc2bbf34c7148314329.tar.gz tor-075c52084dbcf09cc73efbc2bbf34c7148314329.zip |
Fix unit test failure introduced by #20002
Updating the consensus algorithm made a non-valid node never get
listed, which messed up some other tests.
Diffstat (limited to 'src/test/test_dir_common.c')
-rw-r--r-- | src/test/test_dir_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_dir_common.c b/src/test/test_dir_common.c index 2448d307b2..ca43dd4c04 100644 --- a/src/test/test_dir_common.c +++ b/src/test/test_dir_common.c @@ -89,6 +89,7 @@ dir_common_gen_routerstatus_for_v3ns(int idx, time_t now) /* all flags but running and v2dir cleared */ rs->is_flagged_running = 1; rs->is_v2_dir = 1; + rs->is_valid = 1; /* xxxxx */ break; case 1: /* Generate the second routerstatus. */ |