summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_volume_expansion_and_devices.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-03-12 10:08:03 +0530
committervamahaja <vamahaja@redhat.com>2020-03-13 13:26:06 +0530
commit2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (patch)
tree14fdd5e0b2b5a1cf1382cedc16618989d2721900 /tests/functional/heketi/test_volume_expansion_and_devices.py
parentb9db2f4be8f1dcabb31f3ea93f9b3b12bff66603 (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_expansion_and_devices.py')
-rw-r--r--tests/functional/heketi/test_volume_expansion_and_devices.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_volume_expansion_and_devices.py b/tests/functional/heketi/test_volume_expansion_and_devices.py
index f73ed736..cf6eb1a3 100644
--- a/tests/functional/heketi/test_volume_expansion_and_devices.py
+++ b/tests/functional/heketi/test_volume_expansion_and_devices.py
@@ -3,6 +3,7 @@ import math
from glusto.core import Glusto as g
from glustolibs.gluster import volume_ops, rebalance_ops
+import pytest
from openshiftstoragelibs.baseclass import BaseClass
from openshiftstoragelibs import (
@@ -161,6 +162,7 @@ class TestVolumeExpansionAndDevicesTestCases(BaseClass):
device_delete, False,
"Device %s could not be deleted" % device_id)
+ @pytest.mark.tier0
def test_volume_expansion_expanded_volume(self):
"""Validate volume expansion with brick and check rebalance"""
creation_info = heketi_ops.heketi_volume_create(
@@ -300,6 +302,7 @@ class TestVolumeExpansionAndDevicesTestCases(BaseClass):
"Free space not reclaimed after deletion of %s"
% volume_id)
+ @pytest.mark.tier0
def test_volume_expansion_no_free_space(self):
"""Validate volume expansion when there is no free space"""
@@ -437,6 +440,7 @@ class TestVolumeExpansionAndDevicesTestCases(BaseClass):
free_space_after_deletion, free_space_after_expansion,
"Free space not reclaimed after deletion of volume %s" % volume_id)
+ @pytest.mark.tier0
@podcmd.GlustoPod()
def test_volume_expansion_rebalance_brick(self):
"""Validate volume expansion with brick and check rebalance"""