diff options
author | Vijay Bellur <vbellur@redhat.com> | 2014-01-30 22:27:24 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-02-03 00:10:20 -0800 |
commit | 3395b98a341228e89cf0a88e0d86c90117dbb285 (patch) | |
tree | c816c9e01cd61a032e11cf29a401ea5d624990e2 /tests/basic/mount.t | |
parent | a7243ea310613ad0681fd68bc951492fe311916b (diff) |
tests: Fix regression failures
Change-Id: I83dc651a5ce87adf51d1f539400cd91c801fc460
BUG: 1045309
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/6874
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'tests/basic/mount.t')
-rwxr-xr-x | tests/basic/mount.t | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/basic/mount.t b/tests/basic/mount.t index 90e522c5ea0..4197a97da8f 100755 --- a/tests/basic/mount.t +++ b/tests/basic/mount.t @@ -1,6 +1,7 @@ #!/bin/bash . $(dirname $0)/../include.rc +. $(dirname $0)/../nfs.rc cleanup; @@ -49,7 +50,11 @@ TEST 'mount -t fuse.glusterfs | grep -E "^$H0:$V0 .+ \(ro,"'; TEST 'grep -E "^$H0:$V0 .+ ,?ro,.+" /proc/mounts'; ## Wait for volume to register with rpc.mountd -sleep 5; +EXPECT_WITHIN 20 "1" is_nfs_export_available; + +## HACK: mount seems to require about 40 seconds more to be successful, +## sleep 40 is an interim fix till we root cause the underlying issue. +sleep 40 ## Mount NFS TEST mount -t nfs -o nolock,soft,intr $H0:/$V0 $N0; |