From: Andrew Schoen Date: Thu, 8 Dec 2016 01:19:43 +0000 (-0600) Subject: tests: mark tests with no_docker that fail on containerized deployments X-Git-Tag: v2.1.0~26^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae18b2db652b4a10f92d79a689e59df229f226d1;p=ceph-ansible.git tests: mark tests with no_docker that fail on containerized deployments Signed-off-by: Andrew Schoen --- diff --git a/tests/functional/tests/mon/test_mons.py b/tests/functional/tests/mon/test_mons.py index 1942dbe54..e5df2d264 100644 --- a/tests/functional/tests/mon/test_mons.py +++ b/tests/functional/tests/mon/test_mons.py @@ -1,6 +1,9 @@ +import pytest + class TestMons(object): + @pytest.mark.no_docker def test_ceph_mon_package_is_installed(self, node, Package): assert Package("ceph-mon").is_installed diff --git a/tests/functional/tests/osd/test_osds.py b/tests/functional/tests/osd/test_osds.py index c92282926..b754a0d4b 100644 --- a/tests/functional/tests/osd/test_osds.py +++ b/tests/functional/tests/osd/test_osds.py @@ -1,6 +1,9 @@ +import pytest + class TestOSDs(object): + @pytest.mark.no_docker def test_ceph_osd_package_is_installed(self, node, Package): assert Package("ceph-osd").is_installed @@ -32,6 +35,7 @@ class TestOSDs(object): for osd_id in node["osd_ids"]: assert Service("ceph-osd@%s" % osd_id).is_enabled + @pytest.mark.no_docker def test_osd_are_mounted(self, node, MountPoint): # TODO: figure out way to paramaterize node['osd_ids'] for this test for osd_id in node["osd_ids"]: