]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
generic/491: increase test timeout
authorDarrick J. Wong <djwong@kernel.org>
Tue, 27 Feb 2024 02:01:34 +0000 (18:01 -0800)
committerZorro Lang <zlang@kernel.org>
Mon, 11 Mar 2024 04:50:09 +0000 (12:50 +0800)
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>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/491

index 797b08d506ea9607c08ef367347bb2bf9d30b75f..5a586c122a0d0bd34fd4753343b702989926895b 100755 (executable)
@@ -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