Explorar o código

Adjust test, now that there are 9 dirauths again

Nick Mathewson %!s(int64=6) %!d(string=hai) anos
pai
achega
a5f5bda462
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/test/test_config.c

+ 2 - 2
src/test/test_config.c

@@ -1632,8 +1632,8 @@ test_config_adding_default_trusted_dir_servers(void *arg)
 
   /* Assume we have eight V3 authorities */
   add_default_trusted_dir_authorities(V3_DIRINFO);
-  tt_int_op(get_n_authorities(V3_DIRINFO), OP_EQ, 8);
-  tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 9);
+  tt_int_op(get_n_authorities(V3_DIRINFO), OP_EQ, 9);
+  tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 10);
 
  done:
   clear_dir_servers();