summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-864222.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-864222.t')
-rwxr-xr-xtests/bugs/bug-864222.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/bug-864222.t b/tests/bugs/bug-864222.t
index 6e02ab60bca..958fcb9dd78 100755
--- a/tests/bugs/bug-864222.t
+++ b/tests/bugs/bug-864222.t
@@ -1,6 +1,7 @@
#!/bin/bash
. $(dirname $0)/../include.rc
+. $(dirname $0)/../nfs.rc
cleanup;
@@ -9,9 +10,8 @@ TEST pidof glusterd
TEST $CLI volume create $V0 $H0:$B0/brick0
TEST $CLI volume start $V0
-sleep 5
-
-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
cd $N0
TEST ls