mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
test/py: Reset the console timeout value
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>
This commit is contained in:
parent
661f540075
commit
7bb683513c
1 changed files with 4 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue