summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-904065.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-904065.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-904065.t')
-rwxr-xr-xtests/bugs/bug-904065.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/bug-904065.t b/tests/bugs/bug-904065.t
index 505854d9b09..5d5045bb734 100755
--- a/tests/bugs/bug-904065.t
+++ b/tests/bugs/bug-904065.t
@@ -39,7 +39,7 @@ EXPECT_WITHIN 20 1 is_nfs_export_available
# before mounting the rmtab should be empty
EXPECT '0' count_lines /var/lib/glusterd/nfs/rmtab
-TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N0
+TEST mount_nfs $H0:/$V0 $N0 nolock
# the output would looks similar to:
#
# hostname-0=172.31.122.104
@@ -48,7 +48,7 @@ TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N0
EXPECT '2' count_lines /var/lib/glusterd/nfs/rmtab
# duplicate mounts should not be recorded (client could have crashed)
-TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N1
+TEST mount_nfs $H0:/$V0 $N1 nolock
EXPECT '2' count_lines /var/lib/glusterd/nfs/rmtab
# removing a mount should (even if there are two) should remove the entry
@@ -76,7 +76,7 @@ TEST gluster volume set $V0 nfs.mount-rmtab $M0/rmtab
EXPECT_WITHIN 20 1 is_nfs_export_available
# a new mount should be added to the rmtab, not overwrite exiting ones
-TEST mount -t nfs -o vers=3,nolock $H0:/$V0 $N0
+TEST mount_nfs $H0:/$V0 $N0 nolock
EXPECT '4' count_lines $M0/rmtab
TEST umount $N0