summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2019-01-14 20:05:23 +0530
committerVijay Avuthu <vavuthu@redhat.com>2019-01-18 18:03:33 +0000
commita189d6b362ab4a1bca262572312262212eea1102 (patch)
treee4f41d0b056eb11b1de7ee6dbd145f324fb4257b
parent46ca653ff7da41b8e8c222a18a82ae21ec99f397 (diff)
Reverting quorum value back to 51%
Change-Id: Ic7f61241addec2ad81c4ef05dd3268c013dbb083 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
-rw-r--r--tests/functional/glusterd/test_volume_set_with_quorum_enabled.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/glusterd/test_volume_set_with_quorum_enabled.py b/tests/functional/glusterd/test_volume_set_with_quorum_enabled.py
index ac1521d..c4983ed 100644
--- a/tests/functional/glusterd/test_volume_set_with_quorum_enabled.py
+++ b/tests/functional/glusterd/test_volume_set_with_quorum_enabled.py
@@ -40,6 +40,14 @@ class TestVolumeSetOpWithQuorum(GlusterBaseClass):
def tearDown(self):
+ # Setting Quorum ratio to 51%
+ self.quorum_perecent = {'cluster.server-quorum-ratio': '51%'}
+ ret = set_volume_options(self.mnode, 'all', self.quorum_perecent)
+ self.assertTrue(ret, "gluster volume set all cluster.server-quorum-rat"
+ "io percentage Failed :%s" % self.servers)
+ g.log.info("gluster volume set all cluster.server-quorum-ratio 51 "
+ "percentage enabled successfully on :%s", self.servers)
+
# stopping the volume and Cleaning up the volume
ret = self.cleanup_volume()
if not ret: