kopia lustrzana https://github.com/espressif/esp-idf
fix(ci): fix CI unity test cases failure
rodzic
0d06f94d99
commit
270b9d22e4
|
@ -1,6 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
@ -16,7 +15,8 @@ from pytest_embedded import Dut
|
|||
]
|
||||
)
|
||||
def test_esp_system(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
# esp32p4 32MB PSRAM initialize in startup takes more than 30 sec
|
||||
dut.run_all_single_board_cases(timeout=60)
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
|
|
|
@ -631,6 +631,8 @@ TEST_CASE("Test xTaskResumeAll resumes pended tasks", "[freertos]")
|
|||
TEST_ASSERT_EQUAL(pdTRUE, xTaskCreatePinnedToCore(test_pended_running_task, "susp", 2048, (void *)xTaskGetCurrentTaskHandle(), UNITY_FREERTOS_PRIORITY + 1, &susp_tsk_hdl, i));
|
||||
// Wait for to be notified to test completion
|
||||
ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
|
||||
// Add a short delay to allow the test_pended_running_task to go to suspend state
|
||||
vTaskDelay(1);
|
||||
vTaskDelete(susp_tsk_hdl);
|
||||
}
|
||||
// Add a short delay to allow the idle task to free any remaining task memory
|
||||
|
|
Ładowanie…
Reference in New Issue