[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs