summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnees Patel <anepatel@redhat.com>2019-07-15 18:10:15 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-07-29 11:31:48 +0000
commit34bd8eb4f724a55e0bb5693151fe1b97988e7978 (patch)
tree458f515cc2175551e54e028b7d3a4584cf27c1d4 /tests
parentaf2b46be08c3a83aad12c16a32e4a31fbc7f203a (diff)
Enable client-side heal as client-side healing is disabled by default in RHGS 3.5
Change-Id: I500912b5217b675f9fdff4fe1cb518b465de245c Signed-off-by: Anees Patel <anepatel@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/functional/arbiter/test_no_data_loss_arbiter_vol_after_rename_file.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional/arbiter/test_no_data_loss_arbiter_vol_after_rename_file.py b/tests/functional/arbiter/test_no_data_loss_arbiter_vol_after_rename_file.py
index 80339e5..65cff4f 100755
--- a/tests/functional/arbiter/test_no_data_loss_arbiter_vol_after_rename_file.py
+++ b/tests/functional/arbiter/test_no_data_loss_arbiter_vol_after_rename_file.py
@@ -237,6 +237,16 @@ class ArbiterSelfHealTests(GlusterBaseClass):
ret = self.mount_volume(self.mounts)
self.assertTrue(ret, 'Unable to mount %s' % self.volname)
+ # Enable client side healing
+ g.log.info("Enable client side healing options")
+ options = {"metadata-self-heal": "on",
+ "entry-self-heal": "on",
+ "data-self-heal": "on"}
+ ret = set_volume_options(self.mnode, self.volname, options)
+ self.assertTrue(ret, 'Failed to set options %s' % options)
+ g.log.info("Successfully set %s for volume %s",
+ options, self.volname)
+
# Trigger heal from mount point
g.log.info("Triggering heal for %s:%s",
self.mounts[0].client_system, self.mounts[0].mountpoint)