Skip to content

Commit

Permalink
Fix DA count tests (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
floodcode authored Jul 17, 2024
1 parent de81411 commit cbcdf63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/test_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -2004,10 +2004,10 @@ test_config_adding_default_trusted_dir_servers(void *arg)
// tt_int_op(get_n_authorities(BRIDGE_DIRINFO), OP_EQ, 1);
// tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 1);

/* Assume we have three V3 authorities */
/* Assume we have at least three V3 authorities */
add_default_trusted_dir_authorities(V3_DIRINFO);
tt_int_op(get_n_authorities(V3_DIRINFO), OP_EQ, 7);
tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 7);
tt_int_op(get_n_authorities(V3_DIRINFO), OP_GE, 3);
tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_GE, 3);

done:
clear_dir_servers();
Expand Down

0 comments on commit cbcdf63

Please sign in to comment.