From b5faf4f1c139f50f8635dd23e999bc4f64854321 Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 11 Oct 2025 14:57:47 +0700 Subject: [PATCH] increase timeout for mtp hil test --- test/hil/hil_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index fc8255f1b..5bb3a60a1 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -141,7 +141,8 @@ def read_disk_file(uid, lun, fname): def open_mtp_dev(uid): mtp = MTP() - timeout = ENUM_TIMEOUT + # MTP seems to take a while to enumerate + timeout = 2*ENUM_TIMEOUT while timeout > 0: # run_cmd(f"gio mount -u mtp://TinyUsb_TinyUsb_Device_{uid}/") for raw in mtp.detect_devices():