]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/buildoptions: Ensure diskmon tests run consistently
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Nov 2018 10:40:58 +0000 (10:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Dec 2018 10:29:11 +0000 (10:29 +0000)
commitd5ce38168238181423c9dcd1d258253e3515d0a5
tree08400804782acd1fe0194d6919e3ec74b27463e8
parentb729a46820cce38b3d500271df19bdaf31973140
oeqa/selftest/buildoptions: Ensure diskmon tests run consistently

Heartbeat events default to once a second and we need to ensure we have
enough time in the task to see them.

Add a nostamp delay task 5s long so we can have a consistently timed
task which doesn't need cleanup or have unneeded dependencies. This
ensures we should deterministically see the disk moinitor events
regardless of the state of the build. This is done in a way which
doesn't corrupt build state or need cleanup and is efficient.

(From OE-Core rev: ecc49ee8986929e2429d948000a0ca588fe63959)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/delay/delay.bb [new file with mode: 0644]
meta/lib/oeqa/selftest/cases/buildoptions.py