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.
This commit is contained in:
Nick Mathewson
2016-09-07 13:40:38 -04:00
parent a49fee1c29
commit 075c52084d
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -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. */