Certain scenario won't work on containerized deployment. So we decorate
them so they can be skipped.
Signed-off-by: Sébastien Han <seb@redhat.com>
)
assert Service(service_name).is_enabled
+ @pytest.mark.no_docker
def test_can_get_cluster_health(self, node, Command):
cmd = "sudo ceph --cluster={} --connect-timeout 5 -s".format(node["cluster_name"])
output = Command.check_output(cmd)
class TestOSDs(object):
+ @pytest.mark.no_docker
def test_all_osds_are_up_and_in(self, node, Command):
cmd = "sudo ceph --cluster={} --connect-timeout 5 -s".format(node["cluster_name"])
output = Command.check_output(cmd)
+import pytest
class TestInstall(object):
def test_ceph_conf_is_a_file(self, File, node):
assert File(node["conf_path"]).is_file
+ @pytest.mark.no_docker
def test_ceph_command_exists(self, Command):
assert Command.exists("ceph")