Browse Source

gptimer: enlarge test threshold

morris 2 years ago
parent
commit
36c134bdc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/driver/test_apps/gptimer/main/test_gptimer.c

+ 1 - 1
components/driver/test_apps/gptimer/main/test_gptimer.c

@@ -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++) {