diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-27 17:25:50 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-08-15 06:18:49 -1000 |
commit | 9ddf095096c5d04e129d7b621f1a942d26b5dab2 (patch) | |
tree | 6751c2755981103cf43fef7d972a47e12235ebba /meta/lib/oeqa/runtime/cases/ltp.py | |
parent | 468ff997f4e79b7fd217df9d92b7d002c5723e8b (diff) | |
download | poky-9ddf095096c5d04e129d7b621f1a942d26b5dab2.tar.gz |
oeqa/runtime/ltp: Increase ltp test output timeout
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.
(From OE-Core rev: a9e2179f3b4a4fe7321539de9e8e2707c9ca350a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a8b49208f3c99e184eab426360b137bc773aa31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/ltp.py')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ltp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ltp.py b/meta/lib/oeqa/runtime/cases/ltp.py index a66d5d13d7..879f2a673c 100644 --- a/meta/lib/oeqa/runtime/cases/ltp.py +++ b/meta/lib/oeqa/runtime/cases/ltp.py | |||
@@ -67,7 +67,7 @@ class LtpTest(LtpTestBase): | |||
67 | def runltp(self, ltp_group): | 67 | def runltp(self, ltp_group): |
68 | cmd = '/opt/ltp/runltp -f %s -p -q -r /opt/ltp -l /opt/ltp/results/%s -I 1 -d /opt/ltp' % (ltp_group, ltp_group) | 68 | cmd = '/opt/ltp/runltp -f %s -p -q -r /opt/ltp -l /opt/ltp/results/%s -I 1 -d /opt/ltp' % (ltp_group, ltp_group) |
69 | starttime = time.time() | 69 | starttime = time.time() |
70 | (status, output) = self.target.run(cmd) | 70 | (status, output) = self.target.run(cmd, timeout=1200) |
71 | endtime = time.time() | 71 | endtime = time.time() |
72 | 72 | ||
73 | with open(os.path.join(self.ltptest_log_dir, "%s-raw.log" % ltp_group), 'w') as f: | 73 | with open(os.path.join(self.ltptest_log_dir, "%s-raw.log" % ltp_group), 'w') as f: |