diff options
Diffstat (limited to 'tests/functional/heketi/test_heketi_node_operations.py')
-rw-r--r-- | tests/functional/heketi/test_heketi_node_operations.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_heketi_node_operations.py b/tests/functional/heketi/test_heketi_node_operations.py index c4908b3c..6b23b325 100644 --- a/tests/functional/heketi/test_heketi_node_operations.py +++ b/tests/functional/heketi/test_heketi_node_operations.py @@ -1,6 +1,7 @@ import ddt from glusto.core import Glusto as g from glustolibs.gluster import peer_ops +import pytest import six from openshiftstoragelibs import baseclass @@ -24,6 +25,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): self.h_node = self.heketi_client_node self.h_url = self.heketi_server_url + @pytest.mark.tier0 @podcmd.GlustoPod() def test_heketi_node_list(self): """Test node list operation @@ -70,6 +72,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): "Failed to match node ID. Exp: %s, Act: %s" % ( node_id, node_info["id"])) + @pytest.mark.tier0 def test_heketi_node_states_enable_disable(self): """Test node enable and disable functionality """ @@ -162,6 +165,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): return storage_hostname, storage_ip + @pytest.mark.tier0 @podcmd.GlustoPod() def test_heketi_node_add_with_valid_cluster(self): """Test heketi node add operation with valid cluster id""" @@ -415,6 +419,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): self.h_node, self.h_url, device['id']) heketi_ops.heketi_node_delete(self.h_node, self.h_url, node_id) + @pytest.mark.tier0 @ddt.data('remove', 'delete') def test_heketi_node_remove_or_delete(self, operation='delete'): """Test node remove and delete functionality of heketi and validate |