|
@@ -492,6 +492,8 @@ test_helper_functions(void *arg)
|
|
|
MOCK(node_get_by_id, mock_node_get_by_id);
|
|
|
|
|
|
hs_service_init();
|
|
|
+ time_t now = time(NULL);
|
|
|
+ update_approx_time(now);
|
|
|
|
|
|
service = helper_create_service();
|
|
|
|
|
@@ -551,7 +553,6 @@ test_helper_functions(void *arg)
|
|
|
|
|
|
|
|
|
{
|
|
|
- time_t now = time(NULL);
|
|
|
|
|
|
* to launch intro circuit. */
|
|
|
service->state.num_intro_circ_launched = 2;
|
|
@@ -575,7 +576,6 @@ test_helper_functions(void *arg)
|
|
|
|
|
|
|
|
|
{
|
|
|
- time_t now = time(NULL);
|
|
|
|
|
|
tt_u64_op(ip->introduce2_max, OP_GE,
|
|
|
INTRO_POINT_MIN_LIFETIME_INTRODUCTIONS);
|