diff options
author | karthik-us <ksubrahm@redhat.com> | 2018-02-08 14:47:34 +0530 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2018-02-12 10:13:32 +0000 |
commit | 23dd9f8127bd591868cd2e31e72e72b6bd3c3803 (patch) | |
tree | c8fc50be705e3c1779f441eda98d772f2e8d7842 | |
parent | 51a3faf3f1c5b5eeb6572d8f9bec074fe3f6ade2 (diff) |
nfs: Fixing the failure in bug-974972.t test case
Problem:
gNFS servers is restarted even before the pending marker is set
becuase of eager lock being on, leading to a file in split-brain
to get healed.
Fix:
Switch off the eager lock.
This is fixed in the later versions by the patch:
https://review.gluster.org/#/c/13075/
Change-Id: If59e5ede2de1cbfcdeac01cca38dc0d046f1993c
BUG: 1542475
Signed-off-by: karthik-us <ksubrahm@redhat.com>
-rwxr-xr-x | tests/bugs/nfs/bug-974972.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/nfs/bug-974972.t b/tests/bugs/nfs/bug-974972.t index d05e7df1a9f..7047825b3d4 100755 --- a/tests/bugs/nfs/bug-974972.t +++ b/tests/bugs/nfs/bug-974972.t @@ -11,6 +11,7 @@ TEST glusterd TEST pidof glusterd TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1} TEST $CLI volume set $V0 self-heal-daemon off +TEST $CLI volume set $V0 cluster.eager-lock off TEST $CLI volume set $V0 nfs.disable false TEST $CLI volume start $V0 EXPECT_WITHIN $NFS_EXPORT_TIMEOUT "1" is_nfs_export_available; |