summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_volume_multi_req.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/heketi/test_volume_multi_req.py')
-rw-r--r--tests/functional/heketi/test_volume_multi_req.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_volume_multi_req.py b/tests/functional/heketi/test_volume_multi_req.py
index 9fcaeb49..44c53035 100644
--- a/tests/functional/heketi/test_volume_multi_req.py
+++ b/tests/functional/heketi/test_volume_multi_req.py
@@ -7,6 +7,7 @@ import threading
import time
import ddt
+import pytest
import yaml
from glusto.core import Glusto as g
@@ -222,6 +223,7 @@ class TestVolumeMultiReq(BaseClass):
ocp_node = list(g.config['ocp_servers']['master'].keys())[0]
return len(_heketi_vols(ocp_node, self.heketi_server_url))
+ @pytest.mark.tier0
def test_simple_serial_vol_create(self):
"""Test that serially creating PVCs causes heketi to add volumes.
"""
@@ -282,6 +284,7 @@ class TestVolumeMultiReq(BaseClass):
self.assertIn(c2.heketiVolumeName, now_vols)
self.assertNotIn(c2.heketiVolumeName, orig_vols)
+ @pytest.mark.tier0
def test_multiple_vol_create(self):
"""Test creating two volumes via PVCs with no waiting between
the PVC requests.
@@ -383,6 +386,7 @@ class TestVolumeMultiReq(BaseClass):
c.update_pv_info(ocp_node)
self.assertIn(c.heketiVolumeName, now_vols)
+ @pytest.mark.tier0
def test_create_delete_volumes_concurrently(self):
"""Test creating volume when "other processes" are creating
and deleting other volumes in the background.