From 5e62f595570c8716e0dd2b0ca9d3ff6c838be8d1 Mon Sep 17 00:00:00 2001 From: vamahaja Date: Mon, 4 May 2020 16:36:10 +0530 Subject: [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 --- .../heketi/test_server_state_examine_gluster.py | 16 ---------------- 1 file changed, 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): -- cgit