Files
tor/changes
Isis Lovecruft 0545f64d24 test: Increase time limit for IP creation in an HS test.
This should avoid most intermittent test failures on developer and CI machines,
but there could (and probably should) be a more elegant solution.

Also, this test was testing that the IP was created and its expiration time was
set to a time greater than or equal to `now+INTRO_POINT_LIFETIME_MIN_SECONDS+5`:

    /* Time to expire MUST also be in that range. We add 5 seconds because
     * there could be a gap between setting now and the time taken in
     * service_intro_point_new. On ARM, it can be surprisingly slow... */
    tt_u64_op(ip->time_to_expire, OP_GE,
              now + INTRO_POINT_LIFETIME_MIN_SECONDS + 5);

However, this appears to be a typo, since, according to the comment above it,
adding five seconds was done because the IP creation can be slow on some
systems.  But the five seconds is added to the *minimum* time we're comparing
against, and so it actually functions to make this test *more* likely to fail on
slower systems.  (It should either subtract five seconds, or instead add it to
time_to_expire.)

 * FIXES #25450: https://bugs.torproject.org/25450
2018-03-08 20:50:50 +00:00
..
2017-11-27 09:09:16 -05:00
2017-10-24 17:35:17 -05:00
2018-02-13 15:07:55 -06:00
2017-11-07 00:28:14 +02:00
2017-10-03 10:56:46 -04:00
2017-10-03 15:48:12 +03:00
2017-12-04 14:01:52 -05:00
2017-10-03 07:45:36 -05:00
2017-10-05 22:42:00 -05:00
2017-11-02 10:19:05 -04:00
2017-12-12 09:13:05 -05:00
2017-11-15 15:11:15 -05:00
2018-01-03 09:13:00 -05:00
2018-01-30 02:08:42 +11:00
2018-02-13 14:56:31 -05:00
2018-03-01 16:05:17 -05:00
2017-12-11 16:23:11 -05:00
2017-11-05 14:09:07 -05:00
2017-11-16 14:07:58 -05:00
2017-12-05 12:09:57 -05:00
2018-02-13 14:56:31 -05:00
2017-11-30 11:52:40 -05:00