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.
This commit is contained in:
Holger Hans Peter Freyther 2012-04-05 09:47:59 +02:00
parent df90aedcc7
commit 00a12feae6
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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