Skip to content

Commit 97c6ef4

Browse files
committed
[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.
1 parent a94fbb2 commit 97c6ef4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/packages/Python/lldbsuite/test/lldbpexpect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PExpectTest(TestBase):
2323
def expect_prompt(self):
2424
self.child.expect_exact(self.PROMPT)
2525

26-
def launch(self, executable=None, extra_args=None, timeout=30, dimensions=None):
26+
def launch(self, executable=None, extra_args=None, timeout=60, dimensions=None):
2727
logfile = getattr(sys.stdout, 'buffer',
2828
sys.stdout) if self.TraceOn() else None
2929

lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class SpawnBase(object):
3030
pid = None
3131
flag_eof = False
3232

33-
def __init__(self, timeout=30, maxread=2000, searchwindowsize=None,
33+
def __init__(self, timeout=60, maxread=2000, searchwindowsize=None,
3434
logfile=None, encoding=None, codec_errors='strict'):
3535
self.stdin = sys.stdin
3636
self.stdout = sys.stdout

0 commit comments

Comments
 (0)