summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-13 13:50:19 +0700
committerhathach <[email protected]>2024-08-13 13:50:19 +0700
commitf23170786abe8bde0a00065987674f6ff66104c5 (patch)
tree2f8408eeb55b9a7c1db2417554ce0bf8e17a0a40
parent61725a5263b6820051d515fcb716e4a91c13cdac (diff)
increase pyserial timeout
-rw-r--r--test/hil/hil_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index 9a7fe8321..ff8034b95 100644
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -71,7 +71,7 @@ def open_serial_dev(port):
# slight delay since kernel may occupy the port briefly
time.sleep(0.5)
timeout = timeout - 0.5
- ser = serial.Serial(port, timeout=2)
+ ser = serial.Serial(port, timeout=5)
break
except serial.SerialException:
pass