diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-07 16:02:55 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-07 16:02:55 -0500 |
commit | d2071c36f69249742de569dd3f5990ca16040228 (patch) | |
tree | 01e9f20b3758c045aadc434817643b50bd4b5768 /src/test/test_dir.c | |
parent | 293aca9929cfa0205d16899191c16855a607ac77 (diff) | |
download | tor-d2071c36f69249742de569dd3f5990ca16040228.tar.gz tor-d2071c36f69249742de569dd3f5990ca16040228.zip |
Fix a unit test (broken by recent 20499 hacking)
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 77c5dc13c8..6a39b68870 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -3626,8 +3626,8 @@ test_dir_download_status_random_backoff(void *arg) tt_int_op(increment, OP_GE, min_delay); tt_int_op(increment, OP_LE, max_delay); tt_int_op(increment, OP_GE, old_increment); - /* We at most double, and maybe add one */ - tt_int_op(increment, OP_LE, 2 * old_increment + 1); + /* We at most quadruple, and maybe add one */ + tt_int_op(increment, OP_LE, 4 * old_increment + 1); /* Advance */ current_time += increment; |