diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-05-15 14:40:16 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-05-16 03:28:16 -0700 |
commit | 05a5ffe97222ca7c49828f0d762a47e85411ab61 (patch) | |
tree | df7a905a80ac87c1e924394ba72f66f94171d5d0 /tests/bugs/bug-927616.t | |
parent | 07e8f0226d5263501d2b23ed008c59ed45a5a5bd (diff) |
tests: Wait for nfs export to be available
Change-Id: I59a5e0cb78f2b670761a65272b8ab1d7bdb3668a
BUG: 1092850
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/7773
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/bug-927616.t')
-rwxr-xr-x | tests/bugs/bug-927616.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/bug-927616.t b/tests/bugs/bug-927616.t index 22b20aff2df..d8fe7520d8c 100755 --- a/tests/bugs/bug-927616.t +++ b/tests/bugs/bug-927616.t @@ -1,6 +1,7 @@ #!/bin/bash . $(dirname $0)/../include.rc +. $(dirname $0)/../nfs.rc cleanup; @@ -14,9 +15,8 @@ sleep 1; ## Mount FUSE with caching disabled TEST glusterfs --entry-timeout=0 --attribute-timeout=0 -s $H0 --volfile-id $V0 $M0; -sleep 1; - -TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N0; +EXPECT_WITHIN 20 "1" is_nfs_export_available; +TEST mount_nfs $H0:/$V0 $N0 nolock; TEST mkdir $M0/dir; |