mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'bugfix/idfci-12737-fatfs-bdl-wl-storage-erase_v6.1' into 'release/v6.1'
fix(fatfs): erase storage partition before bdl_wl CI test (v6.1) See merge request espressif/esp-idf!50889
This commit is contained in:
@@ -8,6 +8,11 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||||
def test_examples_fatfs_bdl_wl(dut: Dut) -> None:
|
def test_examples_fatfs_bdl_wl(dut: Dut) -> None:
|
||||||
|
# CI boards reuse the 'storage' FAT partition across tests; stale WL/FAT
|
||||||
|
# metadata can mount but fail on the first write. So first erase the partition
|
||||||
|
dut.serial.erase_partition('storage')
|
||||||
|
dut.serial.hard_reset()
|
||||||
|
|
||||||
dut.expect('example: Mounting FAT filesystem via BDL', timeout=90)
|
dut.expect('example: Mounting FAT filesystem via BDL', timeout=90)
|
||||||
dut.expect('example: Filesystem mounted', timeout=90)
|
dut.expect('example: Filesystem mounted', timeout=90)
|
||||||
dut.expect('example: Opening file', timeout=90)
|
dut.expect('example: Opening file', timeout=90)
|
||||||
|
|||||||
Reference in New Issue
Block a user