summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-29 10:28:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:16:55 +0000
commit5feecb639d49d72d8a6abc589b937e07ee72f252 (patch)
treefdbc1fefacab019be47efa673654c24bd79c12b8
parent66ff9408291f3df98e8a6cb3e6e348d7ec8f401d (diff)
downloadopenembedded-core-contrib-5feecb639d49d72d8a6abc589b937e07ee72f252.tar.gz
openembedded-core-contrib-5feecb639d49d72d8a6abc589b937e07ee72f252.tar.bz2
openembedded-core-contrib-5feecb639d49d72d8a6abc589b937e07ee72f252.zip
oeqa/selftest/runcmd: Increase timeout delta
Expecting 1s accuracy on a 2s timeout on a heavily loaded system has proven to be unreliable. Update this to a 5s timeout with a 3s delta which should be achievable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/runcmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runcmd.py b/meta/lib/oeqa/selftest/cases/runcmd.py
index d76d7063c6..a1615cfd20 100644
--- a/meta/lib/oeqa/selftest/cases/runcmd.py
+++ b/meta/lib/oeqa/selftest/cases/runcmd.py
@@ -24,8 +24,8 @@ class RunCmdTests(OESelftestTestCase):
# The delta is intentionally smaller than the timeout, to detect cases where
# we incorrectly apply the timeout more than once.
- TIMEOUT = 2
- DELTA = 1
+ TIMEOUT = 5
+ DELTA = 3
@OETestID(1916)
def test_result_okay(self):