From d12eb31f429da36549cceb0ca34e3b532c3c15f8 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 0d9e095855..76c7d94de4 100644 --- a/components/efuse/test/test_efuse.c +++ b/components/efuse/test/test_efuse.c @@ -695,8 +695,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); @@ -704,8 +704,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);