gptimer: enlarge test threshold

pull/11519/head
morris 2023-04-28 11:43:50 +08:00
rodzic d4a3427eaf
commit 864f5532fa
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -121,7 +121,7 @@ TEST_CASE("gptimer_wallclock_with_various_clock_sources", "[gptimer]")
printf("get raw count of gptimer %d: %llu\r\n", i, value);
// convert the raw count to us
value = value * 1000000 / timer_resolution_hz[i];
TEST_ASSERT_UINT_WITHIN(2000, 40000, value);
TEST_ASSERT_UINT_WITHIN(2500, 40000, value);
}
printf("disable timers\r\n");
for (int i = 0; i < SOC_TIMER_GROUP_TOTAL_TIMERS; i++) {