summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-11-21 13:19:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-22 14:08:48 +0000
commitc15a717aa032828635cb33a7e4c668f769b3d079 (patch)
tree2997f013051410cdc747850821976417469038c8 /meta/recipes-devtools/python
parentcbdc226a99653e5bfc494da8843f3239145a4e8a (diff)
downloadpoky-c15a717aa032828635cb33a7e4c668f769b3d079.tar.gz
oeqa/selftest/debuginfod: improve selftest
This test was occasionally failing for no obvious reason, so refactor and improve: - While waiting for the daemon, check that it is still running and explicitly timeout after 10s when making the HTTP call. - While waiting for the daemon to be ready, log the current state of the daemon so we can tell if we're timing out as it is still scanning. - This was in fact the cause of the intermittant failures, because the TMPDIR is reused between tests and may contain a large number of packages. Do the tests in an isolated TMPDIR to hopefully mitigate this issue and increase the timeout to two minutes. - Decorate the test using runqemu as such so that can be skipped in environments without runqemu - Add a second test that doesn't use runqemu or images, which is faster but less realistic. (From OE-Core rev: 88b660aaae2527736b6eccec4c952eee969e20a2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions