From a8334ff4b998d77b7a4c06d43f1fbebcef7a6888 Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Thu, 23 Jul 2026 21:51:05 +0000 Subject: [PATCH] esp32: Stop running WiFi sim tests on esp32s2 The WiFi tests are flaky on the esp32s2 simulator. We tried to fix them, but it was not enough, so the right thing to do is disabling WiFi tests on ESP32-S2, as already done for test_wifi_example. Signed-off-by: Davide Bettio --- src/platforms/esp32/test/main/test_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platforms/esp32/test/main/test_main.c b/src/platforms/esp32/test/main/test_main.c index 1fc46f33f0..04ff561721 100644 --- a/src/platforms/esp32/test/main/test_main.c +++ b/src/platforms/esp32/test/main/test_main.c @@ -674,7 +674,8 @@ TEST_CASE("test_wifi_example", "[test_run]") } #endif -#if !CONFIG_IDF_TARGET_ESP32C61 +// We also avoid the remaining WiFi tests on ESP32-S2, they proved too flaky +#if !CONFIG_IDF_TARGET_ESP32S2 && !CONFIG_IDF_TARGET_ESP32C61 TEST_CASE("test_wifi_managed", "[test_run]") { term ret_value = avm_test_case("test_wifi_managed.beam");