summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnees Patel <anepatel@redhat.com>2018-12-09 20:51:11 +0530
committerAnees Patel <anepatel@redhat.com>2018-12-09 20:51:11 +0530
commit796962e33348274749203de5e5c80dafffe5fdc8 (patch)
treeaab406d93a5f332ab4af60ead4110c38a690397d
parentd2a6a828f66d95840e5b889179190c8001420d06 (diff)
Distribute to replica 2 conversion is done with force option to avoid split-brain warning per BZ1579758
Change-Id: I674557e153234e0f6af20f12d168b744bda3a3f8 Signed-off-by: Anees Patel <anepatel@redhat.com>
-rwxr-xr-xtests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py b/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py
index 1e9042db2..b49db5336 100755
--- a/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py
+++ b/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py
@@ -153,7 +153,7 @@ class TestSelfHeal(GlusterBaseClass):
# Add bricks
g.log.info("Start adding bricks to volume...")
ret, _, _ = add_brick(self.mnode, self.volname, bricks_to_add,
- replica_count=2)
+ force=True, replica_count=2)
self.assertFalse(ret, "Failed to add bricks %s" % bricks_to_add)
g.log.info("Adding bricks is successful on volume %s", self.volname)