]> code.ossystems Code Review - openembedded-core.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:17 +0000 (12:12 +0100)
commit4d268abc2fc892c5d34449f78c8e9f2b1a9d6bac
tree6dc47fafbeb7b5790e06f9918e2355f3e41ba3c8
parentf352c3b71cbf50846c7de31046202296b38713cc
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]

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