diff options
| author | hathach <[email protected]> | 2025-10-11 14:57:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-11 14:57:47 +0700 |
| commit | b5faf4f1c139f50f8635dd23e999bc4f64854321 (patch) | |
| tree | a3c0d8cb8d51f3875e7fd5881734c2678eaaa40a | |
| parent | 87523f2494109b45307644a36f035b5ad11d5ba9 (diff) | |
increase timeout for mtp hil test
| -rwxr-xr-x | test/hil/hil_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
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(): |
