summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2015-10-01 16:42:09 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 15:08:16 +0100
commitbc974be50d5eff4eed00078ad1d1976ee81c5ecc (patch)
treee4807ee92ad927a61f19b6adf1ae58d17381622e
parent140249a43eb7a36d09d55e7e633b502ddc345f90 (diff)
downloadopenembedded-core-contrib-bc974be50d5eff4eed00078ad1d1976ee81c5ecc.tar.gz
openembedded-core-contrib-bc974be50d5eff4eed00078ad1d1976ee81c5ecc.tar.bz2
openembedded-core-contrib-bc974be50d5eff4eed00078ad1d1976ee81c5ecc.zip
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 7d01c595c96eb3d67b90caf71050c4e9345257de. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/connman.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/lib/oeqa/runtime/connman.py b/meta/lib/oeqa/runtime/connman.py
index ee69e5df96..bd9dba3bd0 100644
--- a/meta/lib/oeqa/runtime/connman.py
+++ b/meta/lib/oeqa/runtime/connman.py
@@ -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))