summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-10-11 15:39:30 +0700
committerGitHub <[email protected]>2025-10-11 15:39:30 +0700
commit33b6954e7e9bb49b29e77f20007c6e1de2839212 (patch)
tree6c8abdb3a532f9862ffb8bef1d536b2dab9451ff
parent8f2e3ed4418a08cc13aee4527b7bdd1b8bb1bf55 (diff)
parentb5faf4f1c139f50f8635dd23e999bc4f64854321 (diff)
Merge pull request #3297 from hathach/hil-increase-timeout-for-mtp
increase timeout for mtp hil test
-rwxr-xr-xtest/hil/hil_test.py3
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():