提交 7bb68351 编写于 作者: B Bin Meng 提交者: Tom Rini

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: NBin Meng <bmeng.cn@gmail.com>
上级 661f5400
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册