Author: Muhammad Omair Javaid Date: 2021-08-02T06:34:11+05:00 New Revision: 97c6ef4ea678ef9a69e1feaf9d77a0880bca09ba
URL: https://github.com/llvm/llvm-project/commit/97c6ef4ea678ef9a69e1feaf9d77a0880bca09ba DIFF: https://github.com/llvm/llvm-project/commit/97c6ef4ea678ef9a69e1feaf9d77a0880bca09ba.diff LOG: [LLDB] Change pexpect timeout to 30 to 60 Test dependent on pexpect fail randomly with timeouts on Arm/AArch64 Linux buildbots. I am setting pexpect timeout from 30 to 60. I will revert this back if this doesnt improve random failures. Added: Modified: lldb/packages/Python/lldbsuite/test/lldbpexpect.py lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py Removed: ################################################################################ diff --git a/lldb/packages/Python/lldbsuite/test/lldbpexpect.py b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py index 388e91892888e..f7c0e490105af 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbpexpect.py +++ b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py @@ -23,7 +23,7 @@ class PExpectTest(TestBase): def expect_prompt(self): self.child.expect_exact(self.PROMPT) - def launch(self, executable=None, extra_args=None, timeout=30, dimensions=None): + def launch(self, executable=None, extra_args=None, timeout=60, dimensions=None): logfile = getattr(sys.stdout, 'buffer', sys.stdout) if self.TraceOn() else None diff --git a/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py b/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py index 4bebe1158478c..589d5ec924656 100644 --- a/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py +++ b/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py @@ -30,7 +30,7 @@ class SpawnBase(object): pid = None flag_eof = False - def __init__(self, timeout=30, maxread=2000, searchwindowsize=None, + def __init__(self, timeout=60, maxread=2000, searchwindowsize=None, logfile=None, encoding=None, codec_errors='strict'): self.stdin = sys.stdin self.stdout = sys.stdout _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits