[LLDB] Fix timeout value on expect_gdbremote_sequence

D83904 seems to have changed timeout value on expect_gdbremote_sequence which
was 120 previously. This seems to be causing intermittent failures on
lldb-aarch64-ubuntu buildbot.

This patch fixes the timeout value to see the impact on test suite.

Example:
http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/7401/steps/test/logs/stdio

Differential Revision: https://reviews.llvm.org/D85514
This commit is contained in:
Muhammad Omair Javaid 2020-08-08 03:35:15 +05:00
parent 8d3ae64b04
commit c888694a8e
2 changed files with 4 additions and 1 deletions

View File

@ -703,7 +703,7 @@ class GdbRemoteTestCaseBase(TestBase):
self.sock,
self.test_sequence,
self._pump_queues,
self.DEFAULT_TIMEOUT,
self.DEFAULT_TIMEOUT * len(self.test_sequence),
self.logger)
_KNOWN_REGINFO_KEYS = [

View File

@ -809,6 +809,9 @@ class GdbRemoteTestSequence(object):
self.entries = []
self.logger = logger
def __len__(self):
return len(self.entries)
def add_log_lines(self, log_lines, remote_input_is_read):
for line in log_lines:
if isinstance(line, str):