]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/runcmd: Increase timeout delta
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Nov 2018 10:28:34 +0000 (10:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Dec 2018 17:16:55 +0000 (17:16 +0000)
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>
meta/lib/oeqa/selftest/cases/runcmd.py

index d76d7063c698c38513a472707b073a6afd9cab01..a1615cfd20b5bd176631d4aa2a235744c7de7aeb 100644 (file)
@@ -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):