File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
examples/protocols/http_server/file_serving Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,12 @@ def test_examples_protocol_http_server_file_serving(dut: Dut) -> None:
31
31
binary_file = os .path .join (dut .app .binary_path , 'file_server.bin' )
32
32
bin_size = os .path .getsize (binary_file )
33
33
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' )
35
36
# Upload binary and start testing
36
37
logging .info ('Starting http file serving simple test app' )
37
38
38
- dut .expect ('Initializing SPIFFS' , timeout = 30 )
39
+ dut .expect ('Initializing SPIFFS' , timeout = 60 )
39
40
40
41
if dut .app .sdkconfig .get ('EXAMPLE_WIFI_SSID_PWD_FROM_STDIN' ) is True :
41
42
dut .expect ('Please input ssid password:' )
You can’t perform that action at this time.
0 commit comments