summaryrefslogtreecommitdiffstats
path: root/dvm
diff options
context:
space:
mode:
Diffstat (limited to 'dvm')
-rwxr-xr-xdvm/2567/testcase6
1 files changed, 5 insertions, 1 deletions
diff --git a/dvm/2567/testcase b/dvm/2567/testcase
index 3ab7262..54ba8c5 100755
--- a/dvm/2567/testcase
+++ b/dvm/2567/testcase
@@ -7,12 +7,16 @@ function _init ()
function self_heal ()
{
- $GLUSTERFSDIR/gluster volume create $global_bug_id replica 2 $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 2>/dev/null 1>/dev/null
+ $GLUSTERFSDIR/gluster --mode=script volume create $global_bug_id replica 2 $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 2>/dev/null 1>/dev/null
$GLUSTERFSDIR/gluster volume start $global_bug_id 2>/dev/null 1>/dev/null;
+ sleep 1;
+
mount_glusterfs $global_bug_id;
+ sleep 1;
+
for i in $(ls /etc/glusterd/vols/$global_bug_id/run)
do
pid=$(cat /etc/glusterd/vols/$global_bug_id/run/$i);