]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/devtool: Add sync call to test teardown
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Sep 2020 16:56:49 +0000 (17:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2020 14:01:47 +0000 (15:01 +0100)
commitce265cf467f1c3e5ba2edbfbef2170df1a727a52
treef9a744bcf0af3629e397379fa19c64b491360c90
parentf55924d8d2258ca8b60c46d78ae2de06add59798
oeqa/selftest/devtool: Add sync call to test teardown

Devtool tests are heavy on IO and if bitbake can't write out its caches, we see
timeouts. Call "sync" around the tests to ensure the IO queue doesn't get too
large, taking any IO hit here rather than in bitbake shutdown.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py