projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661f540
)
test/py: Reset the console timeout value
author
Bin Meng
<bmeng.cn@gmail.com>
Tue, 17 May 2022 15:24:43 +0000
(23:24 +0800)
committer
Tom Rini
<trini@konsulko.com>
Thu, 26 May 2022 14:27:14 +0000
(10:27 -0400)
Reset the console timeout value as some tests may change its default
value during the execution.
This fixes the random case timeout issue seen in the U-Boot CI.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
test/py/u_boot_console_base.py
patch
|
blob
|
history
diff --git
a/test/py/u_boot_console_base.py
b/test/py/u_boot_console_base.py
index
58ec859
..
26b6de0
100644
(file)
--- a/
test/py/u_boot_console_base.py
+++ b/
test/py/u_boot_console_base.py
@@
-400,6
+400,10
@@
class ConsoleBase(object):
"""
if self.p:
+ # Reset the console timeout value as some tests may change
+ # its default value during the execution
+ if not self.config.gdbserver:
+ self.p.timeout = 30000
return
try:
self.log.start_section('Starting U-Boot')