summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-915280.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-915280.t')
-rwxr-xr-xtests/bugs/bug-915280.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/bug-915280.t b/tests/bugs/bug-915280.t
index a1f92f2019c..218fa7baf89 100755
--- a/tests/bugs/bug-915280.t
+++ b/tests/bugs/bug-915280.t
@@ -2,6 +2,7 @@
. $(dirname $0)/../include.rc
. $(dirname $0)/../volume.rc
+. $(dirname $0)/../nfs.rc
cleanup;
@@ -22,10 +23,9 @@ EXPECT 'Created' volinfo_field $V0 'Status';
TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';
-sleep 3
-
MOUNTDIR=$N0;
-TEST mount -t nfs -o vers=3,nolock,soft,timeo=30,retrans=1 $H0:/$V0 $N0
+EXPECT_WITHIN 20 "1" is_nfs_export_available;
+TEST mount_nfs $H0:/$V0 $N0 nolock,timeo=30,retrans=1
TEST touch $N0/testfile
TEST $CLI volume set $V0 debug.error-gen client