From 74e00964727b7fe0837ce8739f7dd157b794a95a Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 29 May 2022 01:22:19 +0800 Subject: [PATCH] relax memory leak threshold for some wifi test case --- components/esp_wifi/test/test_wifi_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_wifi/test/test_wifi_init.c b/components/esp_wifi/test/test_wifi_init.c index 660a817ac4..ff4875d1a2 100644 --- a/components/esp_wifi/test/test_wifi_init.c +++ b/components/esp_wifi/test/test_wifi_init.c @@ -104,6 +104,7 @@ static void wifi_driver_can_start_on_APP_CPU_task(void* arg) TEST_CASE("wifi driver can start on APP CPU", "[wifi_init]") { + test_case_uses_tcpip(); TaskHandle_t th = NULL; SemaphoreHandle_t sema = xSemaphoreCreateBinary(); TEST_ASSERT_NOT_NULL(sema); @@ -206,6 +207,7 @@ static void wifi_stop_task(void* arg) TEST_CASE("Calling esp_wifi_stop() without start", "[wifi_init]") { + test_case_uses_tcpip(); TaskHandle_t th = NULL; SemaphoreHandle_t sema = xSemaphoreCreateBinary(); TEST_ASSERT_NOT_NULL(sema);