]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/connman: disable unique test
authorRoss Burton <ross.burton@intel.com>
Thu, 21 Nov 2013 14:57:46 +0000 (14:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Nov 2013 16:30:13 +0000 (16:30 +0000)
commit80ef721140c79e29430d0a5692a5c176db0061e6
treeeee676eff27210202de22c746a6bafcb3988af3f
parent3e5922a2ed250361e76ea616baba2f8d9332e20f
oeqa/connman: disable unique test

The connman unique test starts another instance of connmand and then does a ps to
verify that there's only one of these running, on the assumption that the new
one has quit because there's already one running (started by init).

However, connmand is forking into the background straight away so there's a race
between running ps and the second connmand discovering the first and exiting.
This race can be seen because the test displays the output of ps, and by the
time that second ps has been executed the new connmand has exited.

This is a classic race condition and on a heavily loaded autobuilder inserting
an arbitrary sleep isn't wise.  In the scheme of things this test isn't very
useful, so delete it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/connman.py