]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa.runtime.smart: work around smart race issues
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 9 Sep 2016 08:27:11 +0000 (11:27 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2016 11:12:23 +0000 (12:12 +0100)
commit68e35c8e3793ed4f7f54d14a5d5b0c59598b7dda
treea62b69647b8fe35430638c3f810f53ba05c38b00
parentd3991342ede8d0db43879719c6e7b9464cd9a128
oeqa.runtime.smart: work around smart race issues

Yucku hack around test failures which ultimately are caused by a race in
smartpm itself. Issuing smartpm commands in quick succession causes
races in package cache of smartpm on some systems. This patch mitigates
the problem by sleeping for 1 second after each smartpm command that
modifies the system.

[YOCTO #10244]

(From OE-Core rev: 4d268abc2fc892c5d34449f78c8e9f2b1a9d6bac)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/smart.py