summaryrefslogtreecommitdiffstats
path: root/tests/bugs/replicate/bug-1130892.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/replicate/bug-1130892.t')
-rw-r--r--tests/bugs/replicate/bug-1130892.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bugs/replicate/bug-1130892.t b/tests/bugs/replicate/bug-1130892.t
index 7442ab80f0f..9005791a597 100644
--- a/tests/bugs/replicate/bug-1130892.t
+++ b/tests/bugs/replicate/bug-1130892.t
@@ -39,6 +39,11 @@ TEST kill_brick $V0 $H0 $B0/${V0}-1
TEST rm -rf $B0/${V0}-1/one
TEST rm -rf $B0/${V0}-1/.glusterfs
+#Ideally, disk replacement is done using reset-brick or replace-brick gluster CLI
+#which will create .glusterfs/indices folder.
+mkdir $B0/${V0}-1/.glusterfs && chmod 600 $B0/${V0}-1/.glusterfs
+mkdir $B0/${V0}-1/.glusterfs/indices && chmod 600 $B0/${V0}-1/.glusterfs/indices
+
# Start force
TEST $CLI volume start $V0 force