From ae18b2db652b4a10f92d79a689e59df229f226d1 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 7 Dec 2016 19:19:43 -0600 Subject: [PATCH] tests: mark tests with no_docker that fail on containerized deployments Signed-off-by: Andrew Schoen --- tests/functional/tests/mon/test_mons.py | 3 +++ tests/functional/tests/osd/test_osds.py | 4 ++++ 2 files changed, 7 insertions(+) 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"]: -- 2.39.5