mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
This commit is contained in:
parent
a9a917b8d7
commit
5893641482
@ -314,8 +314,8 @@ static void test_scheduler_suspend2(int cpu)
|
|||||||
|
|
||||||
printf("count_tick[cpu0] = %d, count_tick[cpu1] = %d\n", count_tick[0], count_tick[1]);
|
printf("count_tick[cpu0] = %d, count_tick[cpu1] = %d\n", count_tick[0], count_tick[1]);
|
||||||
|
|
||||||
TEST_ASSERT_INT_WITHIN(1, waiting_ms * 2, count_tick[0]);
|
TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS * 2, waiting_ms * 2, count_tick[0]);
|
||||||
TEST_ASSERT_INT_WITHIN(1, waiting_ms * 2, count_tick[1]);
|
TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS * 2, waiting_ms * 2, count_tick[1]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user