]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/runtime/ltp: Increase ltp test output timeout
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jul 2023 16:25:50 +0000 (17:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 29 Jul 2023 07:25:07 +0000 (08:25 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ltp.py

index 29c26d7d324f860567b741cd3f406f4bd5adf392..13a4f84ac0087feee420b425d06c736d5f53282f 100644 (file)
@@ -71,7 +71,7 @@ class LtpTest(LtpTestBase):
             cmd = '/opt/ltp/runltp -f %s -q -r /opt/ltp -l /opt/ltp/results/%s -I 1 -d /opt/ltp' % (ltp_group, ltp_group)
 
             starttime = time.time()
-            (status, output) = self.target.run(cmd)
+            (status, output) = self.target.run(cmd, timeout=1200)
             endtime = time.time()
 
             # Write the console log to disk for convenience