[tor-commits] [tor/master] Fix broken entrynodes/retry_unreachable test

nickm at torproject.org nickm at torproject.org
Fri Dec 16 16:49:44 UTC 2016


commit 79a24750ba8b3b1efc87c5b43d91229b6478ef82
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 16 11:49:07 2016 -0500

    Fix broken entrynodes/retry_unreachable test
    
    I broke this with 20292ec4974b777d430e7962cc38349c5f82b220 when I
    changed the primary guard retry schedule.
---
 src/test/test_entrynodes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c
index 0024113..6816113 100644
--- a/src/test/test_entrynodes.c
+++ b/src/test/test_entrynodes.c
@@ -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);



More information about the tor-commits mailing list