summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-904300.t
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-05-15 14:40:16 +0530
committerVijay Bellur <vbellur@redhat.com>2014-05-16 03:28:16 -0700
commit05a5ffe97222ca7c49828f0d762a47e85411ab61 (patch)
treedf7a905a80ac87c1e924394ba72f66f94171d5d0 /tests/bugs/bug-904300.t
parent07e8f0226d5263501d2b23ed008c59ed45a5a5bd (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-904300.t')
-rwxr-xr-xtests/bugs/bug-904300.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/bugs/bug-904300.t b/tests/bugs/bug-904300.t
index 4276ee22921..1e6917463ec 100755
--- a/tests/bugs/bug-904300.t
+++ b/tests/bugs/bug-904300.t
@@ -13,7 +13,7 @@ TEST $CLI volume create $V0 $H0:$B0/$V0;
TEST $CLI volume start $V0
EXPECT_WITHIN 20 1 is_nfs_export_available
-TEST mount -t nfs -o vers=3,nolock,soft,intr $H0:/$V0 $N0
+TEST mount_nfs $H0:/$V0 $N0 nolock
TEST mkdir $N0/dir1
TEST umount $N0
@@ -23,7 +23,7 @@ TEST umount $N0
TEST $CLI volume set $V0 export-dir \""/dir1(127.0.0.1)"\"
EXPECT_WITHIN 20 2 is_nfs_export_available
-TEST mount -t nfs -o vers=3,nolock,soft,intr localhost:/$V0/dir1 $N0
+TEST mount_nfs localhost:/$V0/dir1 $N0 nolock
TEST umount $N0
#
@@ -33,7 +33,7 @@ TEST umount $N0
TEST $CLI volume set $V0 export-dir \""/dir1(8.8.8.8)"\"
EXPECT_WITHIN 20 2 is_nfs_export_available
-TEST ! mount -t nfs -o vers=3,nolock,soft,intr $H0:/$V0/dir1 $N0
+TEST ! mount_nfs $H0:/$V0/dir1 $N0 nolock
TEST ! umount $N0
@@ -43,7 +43,7 @@ TEST ! umount $N0
TEST $CLI volume set $V0 export-dir \""/dir1($H0)"\"
EXPECT_WITHIN 20 2 is_nfs_export_available
-TEST mount -t nfs -o vers=3,nolock,soft,intr $H0:/$V0/dir1 $N0
+TEST mount_nfs $H0:/$V0/dir1 $N0 nolock
TEST umount $N0
# Case 4: Variation of test case1. Here we are checking with IP range
@@ -51,7 +51,7 @@ TEST umount $N0
TEST $CLI volume set $V0 export-dir \""/dir1(127.0.0.0/24)"\"
EXPECT_WITHIN 20 2 is_nfs_export_available
-TEST mount -t nfs -o vers=3,nolock,soft,intr localhost:/$V0/dir1 $N0
+TEST mount_nfs localhost:/$V0/dir1 $N0 nolock
TEST umount $N0
## Finish up