diff options
Diffstat (limited to 'tests/bugs/bug-877885.t')
-rwxr-xr-x | tests/bugs/bug-877885.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/bugs/bug-877885.t b/tests/bugs/bug-877885.t index 0d4620b0092..05b4f1cdf2b 100755 --- a/tests/bugs/bug-877885.t +++ b/tests/bugs/bug-877885.t @@ -1,6 +1,7 @@ #!/bin/bash . $(dirname $0)/../include.rc +. $(dirname $0)/../nfs.rc cleanup; @@ -9,8 +10,6 @@ TEST pidof glusterd TEST $CLI volume create $V0 replica 2 $H0:$B0/brick0 $H0:$B0/brick1 TEST $CLI volume start $V0 -sleep 5 - ## Mount FUSE with caching disabled TEST glusterfs --entry-timeout=0 --attribute-timeout=0 -s $H0 --volfile-id $V0 \ $M0; @@ -18,12 +17,13 @@ $M0; TEST touch $M0/file TEST mkdir $M0/dir -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 rm -rf * & -TEST mount -t nfs -o retry=0,nolock,vers=3 $H0:/$V0 $N1; +TEST mount_nfs $H0:/$V0 $N1 retry=0,nolock; cd; |