summaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2015-04-10 10:51:02 +0200
committerVijay Bellur <vbellur@redhat.com>2015-04-11 15:00:14 +0000
commit169ea3e4939b79e5f658d44ac190221324a8967f (patch)
treec6d5bef15a77123eddb8ed0850df273e075e46a4 /tests/basic
parent4797cb1c9dbf3910952f9d28d8272ff83cd25e7b (diff)
Tests: fix spurrious failure in mount-nfs-auth.t
Work around a timing-caused spurious error introduced by http://review.gluster.org/10047 BUG: 1129939 Change-Id: I0597377799f2464d9516fe710fa6e39c1f67a858 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com> Reviewed-on: http://review.gluster.org/10182 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic/mount-nfs-auth.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/mount-nfs-auth.t b/tests/basic/mount-nfs-auth.t
index 102a2e3af0f..fcb41e8e35b 100755
--- a/tests/basic/mount-nfs-auth.t
+++ b/tests/basic/mount-nfs-auth.t
@@ -48,7 +48,7 @@ function export_allow_this_host_l1 () {
}
function export_allow_wildcard () {
- printf "$EXPORT_WILDCARD\n" >> ${NFSDIR}/exports
+ printf "$EXPORT_WILDCARD\n" > ${NFSDIR}/exports
}
function export_allow_this_host_ro () {
@@ -262,7 +262,7 @@ EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" umount_nfs $N0
## Test wildcard hosts
TEST export_allow_wildcard
-EXPECT "Y" check_mount_success $V0
+EXPECT_WITHIN $AUTH_REFRESH_INTERVAL "Y" check_mount_success $V0
EXPECT_WITHIN $AUTH_REFRESH_INTERVAL "Y" small_write
EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" umount_nfs $N0