diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-28 15:24:07 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-10 22:46:19 +0100 |
| commit | 522be6c4bffc907278bcc9f29a671d59070c2c2b (patch) | |
| tree | b9be54668f2016047d9a4a8732da92fa263c601c | |
| parent | 608f16d94e1cf61c883e85fa0df67350fa8d1a75 (diff) | |
| download | poky-522be6c4bffc907278bcc9f29a671d59070c2c2b.tar.gz | |
oeqa/selftest/runcmd: Tweal test timeouts
Load on the autobuilder meant we see occasionaly timeout issues with these tests.
Slightly increase the test timeouts to better reflect the real world timings we
see.
[YOCTO #14262]
(From OE-Core rev: 102ac28cf41e36c5d619be87ebb33b4af32ec817)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fccd2ade0e345625ed9a4b74a7431b000ce2214f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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 fa6113d7fa..e9612389fe 100644 --- a/meta/lib/oeqa/selftest/cases/runcmd.py +++ b/meta/lib/oeqa/selftest/cases/runcmd.py | |||
| @@ -27,8 +27,8 @@ class RunCmdTests(OESelftestTestCase): | |||
| 27 | 27 | ||
| 28 | # The delta is intentionally smaller than the timeout, to detect cases where | 28 | # The delta is intentionally smaller than the timeout, to detect cases where |
| 29 | # we incorrectly apply the timeout more than once. | 29 | # we incorrectly apply the timeout more than once. |
| 30 | TIMEOUT = 5 | 30 | TIMEOUT = 10 |
| 31 | DELTA = 3 | 31 | DELTA = 8 |
| 32 | 32 | ||
| 33 | def test_result_okay(self): | 33 | def test_result_okay(self): |
| 34 | result = runCmd("true") | 34 | result = runCmd("true") |
