mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a unit test (broken by recent 20499 hacking)
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user