From 9a1a4e63992b318dd11bbb81920c0e09059c3dad Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 20 May 2013 18:40:52 +0530 Subject: tests: Increase wait time for nfs mount. Change-Id: I61815b502c90314ea6924e3046fb9b396ff56e8b BUG: 927616 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/5050 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- tests/bugs/bug-887145.t | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/bugs') diff --git a/tests/bugs/bug-887145.t b/tests/bugs/bug-887145.t index 6758ace40..4d642f8c5 100755 --- a/tests/bugs/bug-887145.t +++ b/tests/bugs/bug-887145.t @@ -19,9 +19,8 @@ sleep 2; ## Mount FUSE with caching disabled TEST glusterfs --entry-timeout=0 --attribute-timeout=0 -s $H0 --volfile-id $V0 $M0; -EXPECT_WITHIN 10 "1" is_nfs_export_available; +EXPECT_WITHIN 20 "1" is_nfs_export_available; -TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N0; useradd tmp_user 2>/dev/null 1>/dev/null; mkdir $M0/dir; @@ -30,6 +29,8 @@ cp /etc/passwd $M0/; cp $M0/passwd $M0/file; chmod 600 $M0/file; +TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N0; + chown -R nfsnobody:nfsnobody $M0/dir; chown -R tmp_user:tmp_user $M0/other; @@ -37,6 +38,8 @@ TEST $CLI volume set $V0 server.root-squash on; sleep 2; +EXPECT_WITHIN 20 "1" is_nfs_export_available; + # create files and directories in the root of the glusterfs and nfs mount # which is owned by root and hence the right behavior is getting EACCESS # as the fops are executed as nfsnobody. -- cgit