summaryrefslogtreecommitdiffstats
path: root/tests/bugs/libgfapi/bug-1032894.t
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-06-17 01:27:31 -0400
committerRaghavendra Talur <rtalur@redhat.com>2016-07-20 23:15:55 -0700
commit0a8b85e3a8228c399dde807c3ca781a452a1fc90 (patch)
tree2c0d75324ef3bf2339c188929e4cfb9177e8f110 /tests/bugs/libgfapi/bug-1032894.t
parentdcf75f7dac091cdb8ab0af2e8f2ca30f6272f8d1 (diff)
tests: Enable all gfapi test cases
Change-Id: I32bfec4af91348d96dc3e81a9d5c9cad599f821b Bug: 1358594 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/14748 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'tests/bugs/libgfapi/bug-1032894.t')
-rw-r--r--tests/bugs/libgfapi/bug-1032894.t33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/bugs/libgfapi/bug-1032894.t b/tests/bugs/libgfapi/bug-1032894.t
deleted file mode 100644
index 88d110136e2..00000000000
--- a/tests/bugs/libgfapi/bug-1032894.t
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-. $(dirname $0)/../../include.rc
-. $(dirname $0)/../../volume.rc
-
-#Check stale indices are deleted as part of self-heal-daemon crawl.
-cleanup;
-
-TEST glusterd
-TEST pidof glusterd
-TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1}
-TEST $CLI volume set $V0 cluster.self-heal-daemon off
-TEST $CLI volume start $V0
-TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0
-cd $M0
-TEST mkdir a
-cd a
-TEST kill_brick $V0 $H0 $B0/${V0}0
-# Create stale indices
-for i in {1..10}; do echo abc > $i; done
-for i in {1..10}; do rm -f $i; done
-
-TEST $CLI volume start $V0 force
-EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 0
-TEST $CLI volume set $V0 cluster.self-heal-daemon on
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status
-
-#Since maximum depth of the directory structure that needs healin is 2
-#Trigger two self-heals. That should make sure the heal is complete
-TEST $CLI volume heal $V0
-
-EXPECT_WITHIN $HEAL_TIMEOUT "0" afr_get_index_count $B0/${V0}1
-cleanup