[2/5] oeqa/selftest/runcmd: Increase timeout delta

Submitted by Richard Purdie on Nov. 29, 2018, 12:17 p.m. | Patch ID: 156739

Details

Message ID 20181129121744.10052-2-richard.purdie@linuxfoundation.org
State Accepted
Commit 5feecb639d49d72d8a6abc589b937e07ee72f252
Headers show

Commit Message

Richard Purdie Nov. 29, 2018, 12:17 p.m.
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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/lib/oeqa/selftest/cases/runcmd.py b/meta/lib/oeqa/selftest/cases/runcmd.py
index d76d7063c69..a1615cfd20b 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):