From 45ea4788b1f6d3a6fe4419e0aea9e68cf6aa062b Mon Sep 17 00:00:00 2001 From: kshithijiyer Date: Mon, 14 Jan 2019 19:39:30 +0530 Subject: Reset quorum value to default Change-Id: I0486abff96ea3ea626ce4d18ac0c24f10ed6a846 Signed-off-by: kshithijiyer --- tests/functional/glusterd/test_quorum_remove_brick.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests') diff --git a/tests/functional/glusterd/test_quorum_remove_brick.py b/tests/functional/glusterd/test_quorum_remove_brick.py index 4429d8231..e4caa065f 100644 --- a/tests/functional/glusterd/test_quorum_remove_brick.py +++ b/tests/functional/glusterd/test_quorum_remove_brick.py @@ -71,6 +71,15 @@ class TestServerQuorumNotMet(GlusterBaseClass): raise ExecutionError("Servers are not in peer probed state") g.log.info("All peers are in connected state") + # Setting server-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 for %s" + % self.servers) + g.log.info("Able to set server quorum ratio successfully for %s", + self.servers) + # stopping the volume and Cleaning up the volume ret = self.cleanup_volume() if not ret: -- cgit