summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-04-17 16:58:26 +0700
committerhathach <[email protected]>2025-04-17 16:58:26 +0700
commit0220852a6e79b0ea33654f17dae56c1ca882ea60 (patch)
tree9df0f15baa5409ebe029129de31d9bf5f51eb315 /test
parentd4983acd3a207d9d81c2698e5f5d2ace9b88e016 (diff)
- hil test max retry = 3
- fix h7 unused function
Diffstat (limited to 'test')
-rwxr-xr-xtest/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 14ab4e63a..f292bca15 100755
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -543,7 +543,7 @@ def test_example(board, f1, example):
print(f'Flashing {fw_name}.elf')
# flash firmware. It may fail randomly, retry a few times
- max_rety = 2
+ max_rety = 3
for i in range(max_rety):
ret = globals()[f'flash_{board["flasher"]["name"].lower()}'](board, fw_name)
if ret.returncode == 0: