summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@fb.com>2017-07-11 14:39:17 -0700
committerJeff Darcy <jeff@pl.atyp.us>2017-07-11 22:35:01 +0000
commit50087889cce61d9c4216d1775762733c2206ff74 (patch)
tree3f473f3d3b8caa7096212a1df7d639ba0b1c20cb /tests
parent67279d73ac48986a02f657e6eccc157578c22881 (diff)
tests: test fix for 67279d73
Accidentally pushed this directly through the branch instead of through Gerrit. Change-Id: Ieedd2f71887cca91a6f1d31bc3cddfc489fc9fa6 Signed-off-by: Jeff Darcy <jdarcy@fb.com> Reviewed-on: https://review.gluster.org/17749 Tested-by: Jeff Darcy <jeff@pl.atyp.us> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/shd_force_inspect.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/basic/shd_force_inspect.t b/tests/basic/shd_force_inspect.t
index ecb4fb0d0f4..ebf3f7a17ad 100644
--- a/tests/basic/shd_force_inspect.t
+++ b/tests/basic/shd_force_inspect.t
@@ -15,8 +15,9 @@ TEST $CLI volume set $V0 cluster.choose-local off
TEST $CLI volume set $V0 cluster.self-heal-daemon on
TEST $CLI volume set $V0 nfs.disable on
TEST $CLI volume set $V0 cluster.quorum-type none
-TEST $CLI volume set $V0 cluster.favorite-child-by-majority on
-TEST $CLI volume set $V0 cluster.favorite-child-by-mtime on
+TEST $CLI volume set $V0 cluster.favorite-child-policy majority
+#EST $CLI volume set $V0 cluster.favorite-child-by-majority on
+#EST $CLI volume set $V0 cluster.favorite-child-by-mtime on
TEST $CLI volume set $V0 cluster.metadata-self-heal off
TEST $CLI volume set $V0 cluster.data-self-heal off
TEST $CLI volume set $V0 cluster.entry-self-heal off
@@ -52,7 +53,7 @@ touch $B0/${V0}3/.glusterfs/indices/xattrop/$GFID_PARENT_FORMATTED
# Kick off the SHD and wait 30 seconds for healing to take place
TEST gluster vol start patchy force
-EXPECT_WITHIN 30 "0" afr_get_pending_heal_count $V0
+EXPECT_WITHIN 30 "0" get_pending_heal_count $V0
# Verify the file was healed back to brick 1
TEST stat $B0/${V0}1/foo/testfile