summaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-10-16 18:58:09 +0530
committerValerii Ponomarov <vponomar@redhat.com>2019-10-25 17:13:45 +0530
commit1c9014d56acb709fcbaaaa5c31c9ef64069aa755 (patch)
treed064fb4105bb94cca01116429794e3888efff115 /tests/functional
parentee8a02605273c51a4a8337a5fba3ce0a7f449a85 (diff)
Add possibility to check Heketi DB inconsistencies after each tc
Define 'check_heketi_db_inconsistencies' config option setting there 'False' or 'True' values. Default value is 'True'. If heketi client doesn't support the 'heketi db check' feature, then 'heketi db check' just won't be performed. Change-Id: I7faff35b15e40d864c0377ae7fee154e217d8eae
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/gluster_stability/test_restart_gluster_services.py1
-rw-r--r--tests/functional/heketi/test_heketi_metrics.py1
-rw-r--r--tests/functional/heketi/test_server_state_examine_gluster.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/gluster_stability/test_restart_gluster_services.py b/tests/functional/gluster_stability/test_restart_gluster_services.py
index 3d760f27..aaa16d51 100644
--- a/tests/functional/gluster_stability/test_restart_gluster_services.py
+++ b/tests/functional/gluster_stability/test_restart_gluster_services.py
@@ -51,6 +51,7 @@ class GlusterStabilityTestSetup(GlusterBlockBaseClass):
"""Deploys, Verifies and adds resources required for testcases
in cleanup method
"""
+ super(GlusterStabilityTestSetup, self).setUp()
self.oc_node = self.ocp_master_node[0]
self.prefix = "autotest-%s" % utils.get_random_str()
diff --git a/tests/functional/heketi/test_heketi_metrics.py b/tests/functional/heketi/test_heketi_metrics.py
index 9e4f5ff8..65a8c2ec 100644
--- a/tests/functional/heketi/test_heketi_metrics.py
+++ b/tests/functional/heketi/test_heketi_metrics.py
@@ -19,6 +19,7 @@ from openshiftstoragelibs.openshift_ops import (
class TestHeketiMetrics(BaseClass):
def setUp(self):
+ super(TestHeketiMetrics, self).setUp()
self.node = self.ocp_master_node[0]
version = heketi_version.get_heketi_version(self.heketi_client_node)
if version < '6.0.0-14':
diff --git a/tests/functional/heketi/test_server_state_examine_gluster.py b/tests/functional/heketi/test_server_state_examine_gluster.py
index 31859bd0..427fda89 100644
--- a/tests/functional/heketi/test_server_state_examine_gluster.py
+++ b/tests/functional/heketi/test_server_state_examine_gluster.py
@@ -7,6 +7,7 @@ from openshiftstoragelibs import openshift_ops
class TestHeketiServerStateExamineGluster(BaseClass):
def setUp(self):
+ super(TestHeketiServerStateExamineGluster, self).setUp()
self.node = self.ocp_master_node[0]
version = heketi_version.get_heketi_version(self.heketi_client_node)
if version < '8.0.0-7':