From d6f377dd1ab99dcb5f719f250a88dcf32affa737 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 15 May 2020 07:11:06 +0530 Subject: 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 --- tests/basic/ec/ec-quorum-count.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/basic') diff --git a/tests/basic/ec/ec-quorum-count.t b/tests/basic/ec/ec-quorum-count.t index 56b5329c411..9310ebbb8f2 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 -- cgit