Selaa lähdekoodia

Merge branch 'bugfix/freertos_ut_suspend_v4.3' into 'release/v4.3'

freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.3)

See merge request espressif/esp-idf!14630
Zim Kalinowski 4 vuotta sitten
vanhempi
sitoutus
8bb5d87f0c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      components/freertos/test/test_task_suspend_resume.c

+ 2 - 2
components/freertos/test/test_task_suspend_resume.c

@@ -341,8 +341,8 @@ static void test_scheduler_suspend2(int cpu)
 
     printf("tick_hook_ms[cpu0] = %d, tick_hook_ms[cpu1] = %d\n", tick_hook_ms[0], tick_hook_ms[1]);
 
-    TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS, waiting_ms * 2, tick_hook_ms[0]);
-    TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS, waiting_ms * 2, tick_hook_ms[1]);
+    TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS * 2, waiting_ms * 2, tick_hook_ms[0]);
+    TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS * 2, waiting_ms * 2, tick_hook_ms[1]);
     printf("\n");
 }