generic/089: increase the lock timeout to 120s
PATCH 1/1 generic/089: increase the lock timeout to 120s
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 <[email protected]>
--- src/t_mtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/t_mtab.c +1 -1
@@ -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" ;
Signature · 1 line
2.43.0
Quoted 8 lines · Jeff Layton
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 <[email protected]>---
Good to me,
Reviewed-by Zorro Lang <[email protected]>
Quoted 20 lines
src/t_mtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/t_mtab.c +1
-1@@ -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" ;Signature · 1 line
2.43.0