From 170ffd2b1d3d8458d39d9f74099c0b381557544b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 5 Aug 2010 15:57:30 -0400 Subject: [PATCH] Increase the tolerance in our unit tests for sloppy clocks. (Apparently openbsd in virtualbox just doesn't keep very accurate time.) --- test/regress.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/regress.h b/test/regress.h index 5889a008..d6bfdcf5 100644 --- a/test/regress.h +++ b/test/regress.h @@ -110,7 +110,7 @@ int _test_ai_eq(const struct evutil_addrinfo *ai, const char *sockaddr_port, } while (0) #define test_timeval_diff_eq(tv1, tv2, diff) \ - tt_int_op(abs(timeval_msec_diff((tv1), (tv2)) - diff), <=, 30) + tt_int_op(abs(timeval_msec_diff((tv1), (tv2)) - diff), <=, 50) long timeval_msec_diff(const struct timeval *start, const struct timeval *end); -- 2.50.0