From 5a3d87fd1239500873c31d38838706b64dbb1b91 Mon Sep 17 00:00:00 2001 From: Ashish Pandey Date: Mon, 24 Sep 2018 14:50:24 +0530 Subject: 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 --- tests/basic/ec/ec-1468261.t | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 -- cgit