diff options
author | vamahaja <vamahaja@redhat.com> | 2020-03-14 14:14:30 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2020-03-17 12:21:59 +0530 |
commit | 80bd4bbeaf8feb2298cc3af16e9a1279678234d4 (patch) | |
tree | 3193df60bb80885da1ef8c74e586b1f0384d64a3 /tests/functional/heketi/test_heketi_node_operations.py | |
parent | 2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (diff) |
[TestFix] Add pytest marker for tier1 test cases
Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi/test_heketi_node_operations.py')
-rw-r--r-- | tests/functional/heketi/test_heketi_node_operations.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_heketi_node_operations.py b/tests/functional/heketi/test_heketi_node_operations.py index 6b23b325..118b3d0c 100644 --- a/tests/functional/heketi/test_heketi_node_operations.py +++ b/tests/functional/heketi/test_heketi_node_operations.py @@ -54,6 +54,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): "Heketi volume list %s is not equal to gluster volume list %s" % (node_ips, hostnames)) + @pytest.mark.tier1 def test_heketi_node_info(self): """Test heketi node info operation """ @@ -244,6 +245,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): storage_ip, ep_addresses) self.assertIn(storage_ip, ep_addresses, err_msg) + @pytest.mark.tier1 def test_heketi_node_add_with_invalid_cluster(self): """Test heketi node add operation with invalid cluster id""" storage_hostname, cluster_id = None, utils.get_random_str(size=33) @@ -530,6 +532,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass): for node_id in h_nodes_list[2:]: self.addCleanup(h.heketi_node_enable, h_node, h_url, node_id) + @pytest.mark.tier1 @ddt.data( ("volume", "create"), ("volume", "delete"), |