]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix broken entrynodes/retry_unreachable test
authorNick Mathewson <nickm@torproject.org>
Fri, 16 Dec 2016 16:49:07 +0000 (11:49 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 16 Dec 2016 16:49:07 +0000 (11:49 -0500)
I broke this with 20292ec4974b777d430e7962cc38349c5f82b220 when I
changed the primary guard retry schedule.

src/test/test_entrynodes.c

index 002411377cc02229c0ba709f73efa22bbc741b2e..68161138a36f20218a49b8e40cb6e66b300f07d6 100644 (file)
@@ -2293,7 +2293,7 @@ test_entry_guard_retry_unreachable(void *arg)
   tt_int_op(g2->is_reachable, OP_EQ, GUARD_REACHABLE_NO);
 
   g1->is_reachable = GUARD_REACHABLE_NO;
-  g1->last_tried_to_connect = start + 35*60;
+  g1->last_tried_to_connect = start + 55*60;
 
   /* After 1 hour, we'll retry the nonprimary one. */
   update_approx_time(start + 61 * 60);