diff options
author | Bin Meng | 2022-05-17 23:24:43 +0800 |
---|---|---|
committer | Tom Rini | 2022-05-26 10:27:14 -0400 |
commit | 7bb683513c8d910aae10353fbea31969fe85f3a4 (patch) | |
tree | d6063004ffcd64ea1ba35e072f0423ae19cc7c97 /test/py/u_boot_console_base.py | |
parent | 661f5400754750df4104b6466942c8b62897340d (diff) |
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>
Diffstat (limited to 'test/py/u_boot_console_base.py')
-rw-r--r-- | test/py/u_boot_console_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index 58ec859b34f..26b6de07f88 100644 --- 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') |