summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-02 22:46:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-06 06:34:58 +0100
commit45632b5366da88673715ba007be7c0c3739b09a9 (patch)
treea8f31a0438a90bece72160a3e43285880a26b4d0
parent5f4e335c8ee25f97ad47a4df2e7f0b6e8967e89a (diff)
downloadpoky-45632b5366da88673715ba007be7c0c3739b09a9.tar.gz
oeqa/runtime/cases/ptest: Increase test timeout from 300s to 450s
Some tests such as lttng-tools are marginal and timing out on the autobuilder with the current 300s default. Increase to avoid this noise in the ptest failures list. (From OE-Core rev: 5fb902a52e35130af6b0735a087c709daa35655f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/cases/ptest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py
index 0800f3c27f..00742da2b5 100644
--- a/meta/lib/oeqa/runtime/cases/ptest.py
+++ b/meta/lib/oeqa/runtime/cases/ptest.py
@@ -57,7 +57,7 @@ class PtestRunnerTest(OERuntimeTestCase):
57 ptest_dirs = [ '/usr/lib' ] 57 ptest_dirs = [ '/usr/lib' ]
58 if not libdir in ptest_dirs: 58 if not libdir in ptest_dirs:
59 ptest_dirs.append(libdir) 59 ptest_dirs.append(libdir)
60 status, output = self.target.run('ptest-runner -d \"{}\"'.format(' '.join(ptest_dirs)), 0) 60 status, output = self.target.run('ptest-runner -t 450 -d \"{}\"'.format(' '.join(ptest_dirs)), 0)
61 os.makedirs(ptest_log_dir) 61 os.makedirs(ptest_log_dir)
62 with open(ptest_runner_log, 'w') as f: 62 with open(ptest_runner_log, 'w') as f:
63 f.write(output) 63 f.write(output)