]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: mark tests with no_docker that fail on containerized deployments
authorAndrew Schoen <aschoen@redhat.com>
Thu, 8 Dec 2016 01:19:43 +0000 (19:19 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 8 Dec 2016 01:19:43 +0000 (19:19 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
tests/functional/tests/mon/test_mons.py
tests/functional/tests/osd/test_osds.py

index 1942dbe5458c22e26436257074b89346d74d3a65..e5df2d264ef2e6ed81eb0348c0758b8d5a05fee7 100644 (file)
@@ -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
 
index c92282926d5a2be09eae60d8886230f5409ade30..b754a0d4b22afb198c9101028bda88569ba7fc46 100644 (file)
@@ -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"]: