Skip to content

Commit 6a29351

Browse files
Merge branch 'bug/ci_test_https_server_file_serving' into 'master'
fix(protocols): Erased the storage partition for http_server ci test Closes IDFCI-2392 See merge request espressif/esp-idf!34083
2 parents 6c8ce91 + 3dc0f88 commit 6a29351

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/protocols/http_server/file_serving/pytest_http_server_file_serving.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ def test_examples_protocol_http_server_file_serving(dut: Dut) -> None:
3131
binary_file = os.path.join(dut.app.binary_path, 'file_server.bin')
3232
bin_size = os.path.getsize(binary_file)
3333
logging.info('file_server_bin_size : {}KB'.format(bin_size // 1024))
34-
logging.info('Erasing the flash on the chip')
34+
logging.info('Erasing the storage partition on the chip')
35+
dut.serial.erase_partition('storage')
3536
# Upload binary and start testing
3637
logging.info('Starting http file serving simple test app')
3738

38-
dut.expect('Initializing SPIFFS', timeout=30)
39+
dut.expect('Initializing SPIFFS', timeout=60)
3940

4041
if dut.app.sdkconfig.get('EXAMPLE_WIFI_SSID_PWD_FROM_STDIN') is True:
4142
dut.expect('Please input ssid password:')

0 commit comments

Comments
 (0)