diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-29 10:28:34 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-08 17:17:01 +0000 |
| commit | 559fe1a4d4fe89924dc42a571c91d32095529740 (patch) | |
| tree | b09569696d0b4c90b6ce25708cc775944d60ce6e | |
| parent | 0fc667d695e22106540b571c714930cee5a1491f (diff) | |
| download | poky-559fe1a4d4fe89924dc42a571c91d32095529740.tar.gz | |
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.
(From OE-Core rev: 5feecb639d49d72d8a6abc589b937e07ee72f252)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/runcmd.py | 4 |
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): | |||
| 24 | 24 | ||
| 25 | # The delta is intentionally smaller than the timeout, to detect cases where | 25 | # The delta is intentionally smaller than the timeout, to detect cases where |
| 26 | # we incorrectly apply the timeout more than once. | 26 | # we incorrectly apply the timeout more than once. |
| 27 | TIMEOUT = 2 | 27 | TIMEOUT = 5 |
| 28 | DELTA = 1 | 28 | DELTA = 3 |
| 29 | 29 | ||
| 30 | @OETestID(1916) | 30 | @OETestID(1916) |
| 31 | def test_result_okay(self): | 31 | def test_result_okay(self): |
