Merge branch 'bugfix/nvs-bootloader-pytest-app-log_v6.0' into 'release/v6.0'

test(nvs_bootloader): mark nvs bootloader pytest as flaky (v6.0)

See merge request espressif/esp-idf!48697
This commit is contained in:
Jiang Jiang Jian
2026-06-29 15:31:13 +08:00

View File

@@ -6,6 +6,7 @@ from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.generic
@pytest.mark.flaky(reruns=2, reruns_delay=5)
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
def test_nvs_bootloader_example(dut: Dut) -> None:
# Full bootloader hook logs must be visible before app output. On some targets (e.g. ESP32-H2)
@@ -26,6 +27,7 @@ def test_nvs_bootloader_example(dut: Dut) -> None:
@pytest.mark.nvs_encr_hmac
@pytest.mark.flaky(reruns=2, reruns_delay=5)
@pytest.mark.parametrize('config', ['nvs_enc_hmac'], indirect=True)
@idf_parametrize('target', ['esp32c3'], indirect=['target'])
def test_nvs_bootloader_example_nvs_encr_hmac(dut: Dut) -> None:
@@ -33,6 +35,7 @@ def test_nvs_bootloader_example_nvs_encr_hmac(dut: Dut) -> None:
@pytest.mark.flash_encryption
@pytest.mark.flaky(reruns=2, reruns_delay=5)
@pytest.mark.parametrize('config', ['nvs_enc_flash_enc'], indirect=True)
@idf_parametrize('target', ['esp32', 'esp32c3'], indirect=['target'])
def test_nvs_bootloader_example_flash_enc(dut: Dut) -> None: