summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-20 10:39:19 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-20 10:39:19 -0500
commit0a1b1430c87824d5f5922827b6ca770a43e709ac (patch)
tree4cb9aff73d6612ea9b46be766897430c9ed5e325
parentfc33caadaebdb06d39068f4492431902c93ee8a7 (diff)
downloadtor-0a1b1430c87824d5f5922827b6ca770a43e709ac.tar.gz
tor-0a1b1430c87824d5f5922827b6ca770a43e709ac.zip
Update the unit tests to reflect the change of 24425
-rw-r--r--src/test/test_hs_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c
index b435a93e33..b9b76d15bd 100644
--- a/src/test/test_hs_common.c
+++ b/src/test/test_hs_common.c
@@ -1053,7 +1053,7 @@ are_responsible_hsdirs_equal(void)
{
int count = 0;
tt_int_op(smartlist_len(client_responsible_hsdirs), OP_EQ, 6);
- tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 6);
+ tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 8);
SMARTLIST_FOREACH_BEGIN(client_responsible_hsdirs,
const routerstatus_t *, c_rs) {
@@ -1415,7 +1415,7 @@ run_reachability_scenario(const reachability_cfg_t *cfg, int num_scenario)
cfg->client_fetch_next_desc, 0,
service_responsible_hsdirs);
cleanup_nodelist();
- tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 6);
+ tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 8);
UNMOCK(networkstatus_get_latest_consensus);
UNMOCK(networkstatus_get_live_consensus);
@@ -1605,7 +1605,7 @@ helper_test_hsdir_sync(networkstatus_t *ns,
/* Cleanup right now so we don't memleak on error. */
cleanup_nodelist();
/* Check that previous hsdirs were populated */
- tt_int_op(smartlist_len(desc->previous_hsdirs), OP_EQ, 6);
+ tt_int_op(smartlist_len(desc->previous_hsdirs), OP_EQ, 8);
/* 3) Initialize client time */
helper_set_consensus_and_system_time(ns, client_position);