[tor-bugs] #27810 [Core Tor/Tor]: hs_service/helper_functions test seems unreliable on slow systems

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 24 13:00:13 UTC 2018


#27810: hs_service/helper_functions test seems unreliable on slow systems
------------------------------+------------------------------------
 Reporter:  nickm             |          Owner:  dgoulet
     Type:  defect            |         Status:  accepted
 Priority:  Medium            |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor      |        Version:
 Severity:  Normal            |     Resolution:
 Keywords:  tor-test, tor-hs  |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------------
Changes (by dgoulet):

 * owner:  (none) => dgoulet
 * status:  new => accepted
 * keywords:   => tor-test, tor-hs


Comment:

 To fix this, we would need to MOCK `approx_time()` since the
 `time_to_expire` of the IP is set as follow:

 {{{
     ip->time_to_expire = approx_time() +
 crypto_rand_int_range(intro_point_min_lifetime,intro_point_max_lifetime);
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27810#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list