diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-04-05 09:47:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-04-05 09:53:38 +0200 |
commit | 00a12feae6dee8a7f592f0455e3732f3cdd6dc5a (patch) | |
tree | 52bf33bc880f27223784d367887cb33778997e99 /tests | |
parent | df90aedcc72e40bac9e87618dd9437e1e9b6d12a (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')
-rw-r--r-- | tests/timer/timer_test.c | 2 | ||||
-rw-r--r-- | tests/timer/timer_test.ok | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c index 3775151c..61079bd9 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; diff --git a/tests/timer/timer_test.ok b/tests/timer/timer_test.ok index b4e0e118..1bb382ee 100644 --- a/tests/timer/timer_test.ok +++ b/tests/timer/timer_test.ok @@ -1,2 +1,2 @@ -Running timer test for 5 steps, accepting imprecision of 0.010000 seconds +Running timer test for 5 steps, accepting imprecision of 0.020000 seconds test over: added=31 expired=31 too_late=0 |