diff options
author | vamahaja <vamahaja@redhat.com> | 2020-03-12 10:08:03 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2020-03-13 13:26:06 +0530 |
commit | 2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (patch) | |
tree | 14fdd5e0b2b5a1cf1382cedc16618989d2721900 /tests/functional/heketi/test_volume_creation.py | |
parent | b9db2f4be8f1dcabb31f3ea93f9b3b12bff66603 (diff) |
[TestFix] Add pytest marker for tier0 test cases
Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi/test_volume_creation.py')
-rw-r--r-- | tests/functional/heketi/test_volume_creation.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_volume_creation.py b/tests/functional/heketi/test_volume_creation.py index 354f7889..a1671c28 100644 --- a/tests/functional/heketi/test_volume_creation.py +++ b/tests/functional/heketi/test_volume_creation.py @@ -1,6 +1,7 @@ from glusto.core import Glusto as g from glustolibs.gluster import snap_ops from glustolibs.gluster import volume_ops +import pytest import six from openshiftstoragelibs.baseclass import BaseClass @@ -18,6 +19,7 @@ class TestVolumeCreationTestCases(BaseClass): super(TestVolumeCreationTestCases, self).setUp() self.node = self.ocp_master_node[0] + @pytest.mark.tier0 @podcmd.GlustoPod() def test_create_heketi_volume(self): """Test heketi volume creation and background gluster validation""" @@ -90,6 +92,7 @@ class TestVolumeCreationTestCases(BaseClass): [brick_name]["status"]), 1, "Brick %s is not up" % brick_name) + @pytest.mark.tier0 def test_volume_creation_no_free_devices(self): """Validate heketi error is returned when no free devices available""" node, server_url = self.heketi_client_node, self.heketi_server_url @@ -242,6 +245,7 @@ class TestVolumeCreationTestCases(BaseClass): g_vol_info = g_vol_info.get(file_vol) return g_vol_info + @pytest.mark.tier0 def test_volume_creation_of_size_greater_than_the_device_size(self): """Validate creation of a volume of size greater than the size of a device. |