]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
test_osds: remove scenario leftover
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 16 Apr 2019 20:23:51 +0000 (16:23 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Apr 2019 07:27:34 +0000 (09:27 +0200)
Since there's only only scenario available we don't need lvm_scenario
and no_lvm_scenario.
Also add missing assert for ceph-volume tests.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit f601549a8a6a859548b3d8259f23150572e09c67)

tests/functional/tests/osd/test_osds.py

index d18167045a76ffedee2572aef7e90602b28b2fac..7605d814c36061dd75b8c759a1337481fa3c2c98 100644 (file)
@@ -26,7 +26,6 @@ class TestOSDs(object):
         for osd in setup["osds"]:
             assert host.service("ceph-osd@%s" % osd).is_running
 
-    @pytest.mark.no_lvm_scenario
     def test_osd_services_are_enabled(self, node, host, setup):
         # TODO: figure out way to paramaterize node['osds'] for this test
         for osd in setup["osds"]:
@@ -42,13 +41,13 @@ class TestOSDs(object):
             )
             assert host.mount_point(osd_path).exists
 
-    @pytest.mark.lvm_scenario
+    @pytest.mark.no_docker
     def test_ceph_volume_is_installed(self, node, host):
-        host.exists('ceph-volume')
+        assert host.exists('ceph-volume')
 
-    @pytest.mark.lvm_scenario
+    @pytest.mark.no_docker
     def test_ceph_volume_systemd_is_installed(self, node, host):
-        host.exists('ceph-volume-systemd')
+        assert host.exists('ceph-volume-systemd')
 
     def _get_osd_id_from_host(self, node, osd_tree):
         children = []