summaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2018-09-24 14:50:24 +0530
committerXavi Hernandez <xhernandez@redhat.com>2018-09-25 13:57:42 +0000
commit5a3d87fd1239500873c31d38838706b64dbb1b91 (patch)
tree64e3441379531a4bcb0379ed04e8656462c7814d /tests/basic
parentb64d08b56f5e76a6d337d6f6c81baec8a0ed7500 (diff)
cluster/ec: Fix failure of tests/basic/ec/ec-1468261.t
Problem: In this test we are relying on eager-lock time duration of 1 second to delay the post op + unlock phase of an entry fop so that in this 1 second we can kill 2 bricks and dirty on directory could be set. Solution: To fix this issue, we should set the others.eager-lock option to "ON" explicitly in the beginning of this test. Change-Id: I19bbb9c15d7bdf96a96b20587c618192d0b740ef fixes bz#1632161 Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/ec/ec-1468261.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/ec/ec-1468261.t b/tests/basic/ec/ec-1468261.t
index 0273102951e..902fbb7d2f1 100644
--- a/tests/basic/ec/ec-1468261.t
+++ b/tests/basic/ec/ec-1468261.t
@@ -16,6 +16,7 @@ TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 disperse 6 redundancy 2 $H0:$B0/${V0}{0..5}
TEST $CLI volume set $V0 disperse.optimistic-change-log on
+TEST $CLI volume set $V0 disperse.other-eager-lock on
TEST $CLI volume start $V0
#Mount the volume