Revert "oeqa/runtime: Added one runtime testcase in connman."

connman daemon forks during normal usage,
so this test is no longer valid and generates
sometimes false positives.

This reverts commit 7d01c595c9.

(From OE-Core rev: bc974be50d5eff4eed00078ad1d1976ee81c5ecc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Cristian Iorga 2015-10-01 16:42:09 +03:00 committed by Richard Purdie
parent c2e78e33f0
commit a7329e1df3
1 changed files with 0 additions and 23 deletions

View File

@ -29,26 +29,3 @@ class ConnmanTest(oeRuntimeTest):
if status != 0:
print self.service_status("connman")
self.fail("No connmand process running")
@testcase(223)
def test_only_one_connmand_in_background(self):
"""
Summary: Only one connmand in background
Expected: There will be only one connmand instance in background.
Product: BSPs
Author: Alexandru Georgescu <alexandru.c.georgescu@intel.com>
AutomatedBy: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
"""
# Make sure that 'connmand' is running in background
(status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand')
self.assertEqual(0, status, 'Failed to find "connmand" process running in background.')
# Start a new instance of 'connmand'
(status, output) = self.target.run('connmand')
self.assertEqual(0, status, 'Failed to start a new "connmand" process.')
# Make sure that only one 'connmand' is running in background
(status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand | wc -l')
self.assertEqual(0, status, 'Failed to find "connmand" process running in background.')
self.assertEqual(1, int(output), 'Found {} connmand processes running, expected 1.'.format(output))