path: root/tests/functional/glusterd
diff options
Diffstat (limited to 'tests/functional/glusterd')
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/functional/glusterd/ b/tests/functional/glusterd/
index cc77b3ea5..b7a0f5843 100644
--- a/tests/functional/glusterd/
+++ b/tests/functional/glusterd/
@@ -22,7 +22,7 @@ from time import sleep
from glusto.core import Glusto as g
from glustolibs.gluster.exceptions import ExecutionError
from glustolibs.gluster.gluster_base_class import GlusterBaseClass, runs_on
-from glustolibs.gluster.volume_ops import set_volume_options
+from glustolibs.gluster.volume_ops import set_volume_options, volume_reset
from glustolibs.gluster.gluster_init import (stop_glusterd, start_glusterd,
from glustolibs.gluster.brick_libs import (are_bricks_offline,
@@ -68,6 +68,12 @@ class TestBrickStatusWhenQuorumNotMet(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: