[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.
This commit is contained in:
Muhammad Omair Javaid 2021-08-02 06:31:52 +05:00
parent a94fbb25de
commit 97c6ef4ea6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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