From: Jeff Layton <jlayton@kernel.org>
To: fstests@vger.kernel.org
Subject: [PATCH fstests] generic/089: increase the lock timeout to 120s
Date: Fri, 26 Jan 2024 15:15:50 -0500 [thread overview]
Message-ID: <20240126201550.109929-1-jlayton@kernel.org> (raw)
On NFS, this test can take a long time. There is enough contention for
the lock that it can take more than 10s (or even 60s) to acquire it.
Bump this value up to 120s, which seems to be long enough for testing
with kdevops.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
src/t_mtab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/t_mtab.c b/src/t_mtab.c
index c0640a1951a4..4b3b26c86d02 100644
--- a/src/t_mtab.c
+++ b/src/t_mtab.c
@@ -16,7 +16,7 @@
#include <mntent.h>
#include <limits.h>
-#define LOCK_TIMEOUT 10
+#define LOCK_TIMEOUT 120
#define _(x) (x)
static char *mounted = "t_mtab";
--
2.43.0
next reply other threads:[~2024-01-26 20:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 20:15 Jeff Layton [this message]
2024-02-02 13:00 ` [PATCH fstests] generic/089: increase the lock timeout to 120s Zorro Lang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240126201550.109929-1-jlayton@kernel.org \
--to=jlayton@kernel.org \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).