summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-07 11:33:14 -0500
committerNick Mathewson <nickm@torproject.org>2018-02-07 11:33:14 -0500
commit78382d557ab3da0b11f4fbda829f463067fc808f (patch)
treec22512043c2dd7e777fb280de106b8dd405f35ce /src/test
parent86498e5aa59a74babd9454c336681a48019f479b (diff)
parentfe3dfe7e38b4ad0c11ff05b7dbd0a9b1d7efc4a8 (diff)
downloadtor-78382d557ab3da0b11f4fbda829f463067fc808f.tar.gz
tor-78382d557ab3da0b11f4fbda829f463067fc808f.zip
Merge remote-tracking branch 'dgoulet/bug25113_029_01'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index ba4ac3c064..b67fad58e3 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -5838,10 +5838,10 @@ test_util_monotonic_time(void *arg)
tt_u64_op(usec1, OP_GE, nsec1 / 1000);
tt_u64_op(msecc1, OP_GE, nsecc1 / 1000000);
tt_u64_op(usecc1, OP_GE, nsecc1 / 1000);
- tt_u64_op(msec1, OP_LE, nsec1 / 1000000 + 1);
- tt_u64_op(usec1, OP_LE, nsec1 / 1000 + 1000);
- tt_u64_op(msecc1, OP_LE, nsecc1 / 1000000 + 1);
- tt_u64_op(usecc1, OP_LE, nsecc1 / 1000 + 1000);
+ tt_u64_op(msec1, OP_LE, nsec1 / 1000000 + 10);
+ tt_u64_op(usec1, OP_LE, nsec1 / 1000 + 10000);
+ tt_u64_op(msecc1, OP_LE, nsecc1 / 1000000 + 10);
+ tt_u64_op(usecc1, OP_LE, nsecc1 / 1000 + 10000);
uint64_t coarse_stamp_diff =
monotime_coarse_stamp_units_to_approx_msec(stamp2-stamp1);