Skip to content

Commit a6586e3

Browse files
committed
test: Fix test_watchdog_reset for newer revisions of ESP32-C5
When verify_output is called in test_watchdog_reset, it read only 100 characters which was not enough to check if correct message was printed
1 parent 61bc166 commit a6586e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_esptool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def verify_output(self, expected_out: List[bytes]):
306306
# "Hello world" data without unwanted chip reset.
307307
with serial.serial_for_url(arg_port, arg_baud, rtscts=True) as p:
308308
p.timeout = 5
309-
output = p.read(100)
309+
output = p.read(200)
310310
print(f"Output: {output}")
311311
assert any(item in output for item in expected_out)
312312

0 commit comments

Comments
 (0)