From 6a77db6d19dba5367c02cbf2a5883ac49cef94e2 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Fri, 27 Feb 2015 03:50:40 +0100 Subject: Tests: give sane default for NetBSD NFS mount retry count Default NetBSD NFS retry count is 10000, which means tests will loop for a long time if the server is not available. We fix this by setting a default retry count to 2 (1 seems to low and breaks regression). If mount_nfs is called with a retry option, it will overrride this default. BUG: 1129939 Change-Id: I1ae16f8caa74d6e9af1aa7a55fd111178af0ad78 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.org/9763 Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- tests/nfs.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nfs.rc b/tests/nfs.rc index f79be701a2d..2e0241709d3 100644 --- a/tests/nfs.rc +++ b/tests/nfs.rc @@ -29,7 +29,7 @@ function mount_nfs () for o in ${opt//,/ }; do case $OSTYPE in NetBSD) - test "x${nopt}" = "x" && nopt="tcp," + test "x${nopt}" = "x" && nopt="tcp,-R=2," case $o in nolock|noac|actimeo=*|mountproto=udp) -- cgit