summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-05-20 18:40:52 +0530
committerAnand Avati <avati@redhat.com>2013-05-20 14:53:57 -0700
commit9a1a4e63992b318dd11bbb81920c0e09059c3dad (patch)
tree51a0e524354c3c8377dfe4f5ac7a7a20739987a3 /tests/bugs
parentc377febe7ac559a6940143db09a092b511647958 (diff)
tests: Increase wait time for nfs mount.
Change-Id: I61815b502c90314ea6924e3046fb9b396ff56e8b BUG: 927616 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/5050 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs')
-rwxr-xr-xtests/bugs/bug-887145.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/bugs/bug-887145.t b/tests/bugs/bug-887145.t
index 6758ace..4d642f8 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.