aboutsummaryrefslogtreecommitdiffstats
path: root/tests/timer/timer_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-04-05 09:47:59 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-04-05 09:53:38 +0200
commit00a12feae6dee8a7f592f0455e3732f3cdd6dc5a (patch)
tree52bf33bc880f27223784d367887cb33778997e99 /tests/timer/timer_test.c
parentdf90aedcc72e40bac9e87618dd9437e1e9b6d12a (diff)
timer: Increase the imprecision we accept in this test
On a loaded server we might not be able to reach 10ms precision in the test configuration and this is not a high precision timer anyway.
Diffstat (limited to 'tests/timer/timer_test.c')
-rw-r--r--tests/timer/timer_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c
index 3775151..61079bd 100644
--- a/tests/timer/timer_test.c
+++ b/tests/timer/timer_test.c
@@ -60,7 +60,7 @@ struct test_timer {
/* timer imprecision that we accept for this test: 10 milliseconds. */
#define TIMER_PRES_SECS 0
-#define TIMER_PRES_USECS 10000
+#define TIMER_PRES_USECS 20000
static int timer_nsteps = MAIN_TIMER_NSTEPS;
static unsigned int expired_timers = 0;