From ae0931be06d4359b13c2d0ea59fb5e85bb402fb9 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Mon, 21 Sep 2020 12:23:14 +0800 Subject: [PATCH] CI: Increase stack size for efuse unit test "Batch mode is thread-safe" case would occasionally cause a stackoverflow. Increased stack size. --- components/efuse/test/test_efuse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/efuse/test/test_efuse.c b/components/efuse/test/test_efuse.c index f7e67f7b05..1c06370c6a 100644 --- a/components/efuse/test/test_efuse.c +++ b/components/efuse/test/test_efuse.c @@ -696,8 +696,8 @@ TEST_CASE("Batch mode is thread-safe", "[efuse]") sema = xSemaphoreCreateBinary(); printf("\n"); - xTaskCreatePinnedToCore(task1, "task1", 2048, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 0); - xTaskCreatePinnedToCore(task2, "task2", 2048, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 1); + xTaskCreatePinnedToCore(task1, "task1", 3072, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 0); + xTaskCreatePinnedToCore(task2, "task2", 3072, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 1); vTaskDelay(3000 / portTICK_PERIOD_MS); xSemaphoreTake(sema, portMAX_DELAY); @@ -705,8 +705,8 @@ TEST_CASE("Batch mode is thread-safe", "[efuse]") esp_efuse_utility_erase_virt_blocks(); printf("\n"); - xTaskCreatePinnedToCore(task1, "task1", 2048, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 0); - xTaskCreatePinnedToCore(task3, "task3", 2048, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 1); + xTaskCreatePinnedToCore(task1, "task1", 3072, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 0); + xTaskCreatePinnedToCore(task3, "task3", 3072, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 1); vTaskDelay(3000 / portTICK_PERIOD_MS); xSemaphoreTake(sema, portMAX_DELAY);