Skip to content

Commit 069830d

Browse files
Dzarda7dobairoland
authored andcommitted
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 c85a93d commit 069830d

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
@@ -326,7 +326,7 @@ def verify_output(self, expected_out: list[bytes]):
326326
# "Hello world" data without unwanted chip reset.
327327
with serial.serial_for_url(arg_port, arg_baud, rtscts=True) as p:
328328
p.timeout = 5
329-
output = p.read(100)
329+
output = p.read(200)
330330
print(f"Output: {output}")
331331
assert any(item in output for item in expected_out)
332332

0 commit comments

Comments
 (0)