From e2beec18e2364366f213f9a3fa550e2740edcd6b Mon Sep 17 00:00:00 2001 From: "sonika.rathi" Date: Thu, 21 May 2026 20:11:09 +0200 Subject: [PATCH] fix(storage): mark storage pytest apps flaky in CI --- components/fatfs/test_apps/flash_ro/pytest_fatfs_flash_ro.py | 1 + components/fatfs/test_apps/flash_wl/pytest_fatfs_flash_wl.py | 2 ++ components/spiffs/test_apps/pytest_spiffs.py | 3 ++- components/vfs/test_apps/pytest_vfs.py | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/fatfs/test_apps/flash_ro/pytest_fatfs_flash_ro.py b/components/fatfs/test_apps/flash_ro/pytest_fatfs_flash_ro.py index ae4aadfa5b4..e117295d2a8 100644 --- a/components/fatfs/test_apps/flash_ro/pytest_fatfs_flash_ro.py +++ b/components/fatfs/test_apps/flash_ro/pytest_fatfs_flash_ro.py @@ -5,6 +5,7 @@ from pytest_embedded import Dut @pytest.mark.supported_targets +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.generic def test_fatfs_flash_ro(dut: Dut) -> None: dut.run_all_single_board_cases(timeout=240) diff --git a/components/fatfs/test_apps/flash_wl/pytest_fatfs_flash_wl.py b/components/fatfs/test_apps/flash_wl/pytest_fatfs_flash_wl.py index ddede3448a7..87a874dddaa 100644 --- a/components/fatfs/test_apps/flash_wl/pytest_fatfs_flash_wl.py +++ b/components/fatfs/test_apps/flash_wl/pytest_fatfs_flash_wl.py @@ -6,6 +6,7 @@ from pytest_embedded import Dut @pytest.mark.supported_targets @pytest.mark.generic +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.parametrize( 'config', [ @@ -21,6 +22,7 @@ def test_fatfs_flash_wl_generic(dut: Dut) -> None: @pytest.mark.supported_targets @pytest.mark.psram +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.parametrize( 'config', [ diff --git a/components/spiffs/test_apps/pytest_spiffs.py b/components/spiffs/test_apps/pytest_spiffs.py index 33e5253937a..e5c18a8b8dc 100644 --- a/components/spiffs/test_apps/pytest_spiffs.py +++ b/components/spiffs/test_apps/pytest_spiffs.py @@ -1,6 +1,5 @@ # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: CC0-1.0 - import pytest from pytest_embedded import Dut @@ -8,6 +7,7 @@ from pytest_embedded import Dut @pytest.mark.esp32 @pytest.mark.esp32c3 @pytest.mark.generic +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.parametrize('config', [ 'default', 'release', @@ -21,6 +21,7 @@ def test_spiffs_generic(dut: Dut) -> None: @pytest.mark.esp32s3 +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.quad_psram @pytest.mark.parametrize('config', [ 'psram', diff --git a/components/vfs/test_apps/pytest_vfs.py b/components/vfs/test_apps/pytest_vfs.py index f6854626f7c..88b4a177ce8 100644 --- a/components/vfs/test_apps/pytest_vfs.py +++ b/components/vfs/test_apps/pytest_vfs.py @@ -9,6 +9,7 @@ from pytest_embedded import Dut @pytest.mark.esp32c6 @pytest.mark.esp32h2 @pytest.mark.generic +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.parametrize('config', [ 'default', 'iram', ], indirect=True) @@ -18,6 +19,7 @@ def test_vfs_default(dut: Dut) -> None: @pytest.mark.esp32 @pytest.mark.generic +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.parametrize('config', [ 'ccomp', ], indirect=True) @@ -27,6 +29,7 @@ def test_vfs_ccomp(dut: Dut) -> None: @pytest.mark.esp32s3 @pytest.mark.quad_psram +@pytest.mark.flaky(reruns=2, reruns_delay=5) @pytest.mark.parametrize('config', [ 'psram', ], indirect=True)