summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2020-05-15 07:11:06 +0530
committergluster-ant <bugzilla-bot@gluster.org>2020-05-15 07:11:06 +0530
commit53d823e7ad1ed0db11f68adbbeab0343b031f6c0 (patch)
tree7a3ad4995746a4b731ba2e825e38de0c59fa4b4d
parent473bf33508bf65a16314a4e60e4f8cc3bfda9121 (diff)
downloadglusterfs-53d823e7ad1ed0db11f68adbbeab0343b031f6c0.tar.gz
glusterfs-53d823e7ad1ed0db11f68adbbeab0343b031f6c0.tar.xz
glusterfs-53d823e7ad1ed0db11f68adbbeab0343b031f6c0.zip
tests: Disable client-heals
Problem: ok 32 [ 11/ 9] < 46> 'gf_rm_file_and_gfid_link /d/backends/patchy0 del-file' not ok 33 [ 13/ 131] < 48> '! dd if=/dev/zero of=/mnt/glusterfs/0/del-file bs=1M count=1 oflag=direct' -> '' The assumption in the test above is that the file wouldn't exist when dd happens. But heal can lead to creation of the file in some cases leading to spurious failures. Fix: Disable client side heal. Fixes: #1245 Change-Id: I96b2b45528f9dfb3199d503a467cafafba9b387f Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
-rw-r--r--tests/basic/ec/ec-quorum-count.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic/ec/ec-quorum-count.t b/tests/basic/ec/ec-quorum-count.t
index 56b5329c41..9310ebbb8f 100644
--- a/tests/basic/ec/ec-quorum-count.t
+++ b/tests/basic/ec/ec-quorum-count.t
@@ -11,6 +11,8 @@ TEST $CLI volume create $V0 disperse 6 redundancy 2 $H0:$B0/${V0}{0..5}
TEST $CLI volume create $V1 $H0:$B0/${V1}{0..5}
TEST $CLI volume set $V0 disperse.eager-lock-timeout 5
TEST $CLI volume set $V0 performance.flush-behind off
+TEST $CLI volume set $V0 disperse.background-heals 0
+TEST $CLI volume set $V0 disperse.heal-wait-qlength 0
#Should fail on non-disperse volume
TEST ! $CLI volume set $V1 disperse.quorum-count 5