tests: mark tests with no_docker that fail on containerized deployments

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1150/head
Andrew Schoen 2016-12-07 19:19:43 -06:00
parent 239b0d0f96
commit ae18b2db65
2 changed files with 7 additions and 0 deletions

View 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

View 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"]: