summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-05-04 16:36:10 +0530
committervamahaja <vamahaja@redhat.com>2020-05-04 16:47:26 +0530
commit5e62f595570c8716e0dd2b0ca9d3ff6c838be8d1 (patch)
tree290bde0679b7d67f3308a89d12a6962a84681058 /tests
parente7d3030d4f8ead6178a6a6e3b701f160dea00eda (diff)
[TestFix] Remove TC 'test_compare_node_count_with_db_check_info'
Test case 'test_compare_node_count_with_db_check_info' is automated as part of tc 'test_verify_db_check'. Hence remove older test case. Change-Id: If385c21c9ac5554b2faf96c59424d8695d87c7c8 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/heketi/test_server_state_examine_gluster.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/functional/heketi/test_server_state_examine_gluster.py b/tests/functional/heketi/test_server_state_examine_gluster.py
index e023d0db..401d0abe 100644
--- a/tests/functional/heketi/test_server_state_examine_gluster.py
+++ b/tests/functional/heketi/test_server_state_examine_gluster.py
@@ -74,22 +74,6 @@ class TestHeketiServerStateExamineGluster(BaseClass):
"%svolume count doesn't match expected "
"result %s, actual result is %s" % (vol_type, count, vol_count))
- @pytest.mark.tier1
- def test_compare_node_count_with_db_check_info(self):
- """Validate nodes count using heketi db check"""
-
- # Check heketi db
- db_result = heketi_ops.heketi_db_check(
- self.heketi_client_node, self.heketi_server_url)
- db_nodes_count = db_result["nodes"]["total"]
- nodes_list = heketi_ops.heketi_node_list(
- self.heketi_client_node, self.heketi_server_url, json=True)
- calculated_nodes_count = len(nodes_list)
- self.assertEqual(
- calculated_nodes_count, db_nodes_count,
- "Nodes count from 'DB check' (%s) doesn't match calculated nodes "
- "count (%s)." % (db_nodes_count, calculated_nodes_count))
-
@pytest.mark.tier0
@ddt.data('device_count', 'node_count', 'bricks_count')
def test_verify_db_check(self, count_type):