diff --git a/lldb/packages/Python/lldbsuite/test/lldbpexpect.py b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py index 388e91892888..f7c0e490105a 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 4bebe1158478..589d5ec92465 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