diff --git a/src/tests/timer-add-api-test/timer-add-api-test.c b/src/tests/timer-add-api-test/timer-add-api-test.c index 6f34f01bd..bae4dfee2 100644 --- a/src/tests/timer-add-api-test/timer-add-api-test.c +++ b/src/tests/timer-add-api-test/timer-add-api-test.c @@ -170,8 +170,8 @@ void TestTimerAddApi(void) * Since all these counts are affected by test system load, * allow for some fudge factor before declaring failure */ - UtAssert_True(timer_counter[i] >= (expected - 3), "Timer %d count >= %d", (int)i, (int)(expected - 3)); - UtAssert_True(timer_counter[i] <= (expected + 3), "Timer %d count <= %d", (int)i, (int)(expected + 3)); + UtAssert_True(timer_counter[i] >= (expected - 6), "Timer %d count >= %d", (int)i, (int)(expected - 6)); + UtAssert_True(timer_counter[i] <= (expected + 6), "Timer %d count <= %d", (int)i, (int)(expected + 6)); } /* Test nominal inputs */ diff --git a/src/tests/timer-test/timer-test.c b/src/tests/timer-test/timer-test.c index a2ba04b7b..94d5781b4 100644 --- a/src/tests/timer-test/timer-test.c +++ b/src/tests/timer-test/timer-test.c @@ -216,8 +216,8 @@ void TimerTestCheck(void) * Since all these counts are affected by test system load, * allow for some fudge factor before declaring failure */ - UtAssert_True(timer_counter[i] >= (expected - 3), "Timer %d count >= %d", (int)i, (int)(expected - 3)); - UtAssert_True(timer_counter[i] <= (expected + 3), "Timer %d count <= %d", (int)i, (int)(expected + 3)); + UtAssert_True(timer_counter[i] >= (expected - 6), "Timer %d count >= %d", (int)i, (int)(expected - 6)); + UtAssert_True(timer_counter[i] <= (expected + 6), "Timer %d count <= %d", (int)i, (int)(expected + 6)); } } }