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 21:47:43 -0700
commit9a4585f4b3a7ea7bb4b3931462c06cbf13c4fcff (patch)
tree10ea1d7a858ac83f468fc30cc7aa0ffeec8345a4 /tests/bugs
parent4a631d7876e6de555683939dd87baedb11bcfd6a (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/5051 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 6758ace4001..4d642f8c53e 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.