summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2019-01-14 19:48:46 +0530
committerVijay Avuthu <vavuthu@redhat.com>2019-01-23 05:24:40 +0000
commit1f3968667c7f3d9121df209d5f3ba7517d982eb8 (patch)
treedbaf274477cf3bd95ee0d7f709df490b8ed030d7
parentafdc05b7dbb7b1021d7b01152c862287a9510b50 (diff)
Reverting quorum value back to 51%
Change-Id: I9e61480ff93d0c16b66eeddacdaef715a0b47d1c Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
-rw-r--r--tests/functional/glusterd/test_remove_brick_when_quorum_not_met.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/glusterd/test_remove_brick_when_quorum_not_met.py b/tests/functional/glusterd/test_remove_brick_when_quorum_not_met.py
index 50f7c5e7b..463b1c4e7 100644
--- a/tests/functional/glusterd/test_remove_brick_when_quorum_not_met.py
+++ b/tests/functional/glusterd/test_remove_brick_when_quorum_not_met.py
@@ -58,6 +58,13 @@ class TestRemoveBrickWhenQuorumNotMet(GlusterBaseClass):
if not ret:
raise ExecutionError("Servers are not in connected state")
+ # Setting quorum ratio to 51%
+ ret = set_volume_options(self.mnode, 'all',
+ {'cluster.server-quorum-ratio': '51%'})
+ if not ret:
+ raise ExecutionError("Failed to set server quorum ratio on %s"
+ % self.volname)
+
# stopping the volume and Cleaning up the volume
ret = self.cleanup_volume()
if not ret: