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
@ -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…
Reference in New Issue
Block a user