From: Bin Meng Date: Tue, 17 May 2022 15:24:43 +0000 (+0800) Subject: test/py: Reset the console timeout value X-Git-Url: http://git.dujemihanovic.xyz/projects?a=commitdiff_plain;h=7bb683513c8d910aae10353fbea31969fe85f3a4;p=u-boot.git 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 --- diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index 58ec859b34..26b6de07f8 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')