diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2009-09-01 15:40:54 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2009-09-16 15:52:03 -0700 |
commit | fca84469496e19542127a0c0f65b933a3eee4104 (patch) | |
tree | 03686b925b63efc7188651ef8e4de40fa3e9c242 /src/or/test.c | |
parent | c4e6b3eadb53f382793af9550496c4528faea6a1 (diff) | |
download | tor-fca84469496e19542127a0c0f65b933a3eee4104.tar.gz tor-fca84469496e19542127a0c0f65b933a3eee4104.zip |
Fix a couple of assert bugs.
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c index c6cd6a8a45..a7f56fe4d1 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -3484,9 +3484,11 @@ test_circuit_timeout(void) test_assert(!circuit_build_times_check_too_many_timeouts(&final)); for (i = 0; i < MAX_RECENT_TIMEOUT_RATE*RECENT_CIRCUITS; i++) { - circuit_build_times_add_timeout_worker(&estimate); + circuit_build_times_add_timeout_worker(&estimate, + BUILDTIMEOUT_QUANTILE_CUTOFF); if (i < MAX_RECENT_TIMEOUT_RATE*RECENT_CIRCUITS-1) { - circuit_build_times_add_timeout_worker(&final); + circuit_build_times_add_timeout_worker(&final, + BUILDTIMEOUT_QUANTILE_CUTOFF); } } |