path: root/tests/functional
diff options
authorroot <root@localhost.localdomain>2018-11-30 20:03:02 +0530
committerVijay Avuthu <>2018-12-06 06:40:49 +0000
commit7fb5a55f55ade4077cf37fc558308d766ade5f79 (patch)
tree453aa4a1b0d9a19307d748b746e2138a464380dd /tests/functional
parent98b185a744446c611c500e078ed9bddfc2af4098 (diff)
Quorum ratio not reset to default
Earlier quorum ratio is not reset to default which affects the remaining cases.` Change-Id: I5b2e6c23c5b9cd4cfb310534a7ff89a99bf0931b Signed-off-by: root <root@localhost.localdomain>
Diffstat (limited to 'tests/functional')
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/functional/glusterd/ b/tests/functional/glusterd/
index 8af731048..da7f7d0ef 100644
--- a/tests/functional/glusterd/
+++ b/tests/functional/glusterd/
@@ -26,7 +26,8 @@ from glustolibs.gluster.exceptions import ExecutionError
from glustolibs.gluster.gluster_base_class import GlusterBaseClass, runs_on
from glustolibs.gluster.lib_utils import form_bricks_list
from glustolibs.gluster.volume_ops import (set_volume_options, volume_start,
- volume_create, get_volume_status)
+ volume_create, get_volume_status,
+ volume_reset)
from glustolibs.gluster.gluster_init import (stop_glusterd,
@@ -60,6 +61,12 @@ class TestReplaceBrickWhenQuorumNotMet(GlusterBaseClass):
if not ret:
raise ExecutionError("Servers are not in peer probed state")
+ # reset quorum ratio to default
+"resetting quorum ratio")
+ ret, _, _ = volume_reset(self.mnode, 'all')
+ self.assertEqual(ret, 0, "Failed to reset quorum ratio")
+"Successfully resetted quorum ratio")
# stopping the volume and Cleaning up the volume
ret = self.cleanup_volume()
if not ret: