[PATCH 4/8] generic/491: increase test timeout

Darrick J. Wong
2024-02-27T02:01:35Z

From: Darrick J. Wong <djwong@kernel.org>

Bump the read timeout in this test to a few seconds just in case it
actually takes the IO system more than a second to retrieve the data
(e.g. cloud storage network lag).

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
tests/generic/491 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/491 b/tests/generic/491
index 797b08d506..5a586c122a 100755
--- a/tests/generic/491
+++ b/tests/generic/491
@@ -44,7 +44,7 @@ xfs_freeze -f $SCRATCH_MNT

# Read file while filesystem is frozen should succeed
# without blocking
-$TIMEOUT_PROG -s KILL 1s cat $testfile
+$TIMEOUT_PROG -s KILL 5s cat $testfile

xfs_freeze -u $SCRATCH_MNT