From 890a62b53eb84b84b1f7681085c8fa95ff0fe99e 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 2f38467c5b..7ba766cf84 100644 --- a/components/efuse/test/test_efuse.c +++ b/components/efuse/test/test_efuse.c @@ -669,8 +669,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); @@ -678,8 +678,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);