diff options
author | George Amanakis <[email protected]> | 2023-06-15 21:45:36 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-15 12:45:36 -0700 |
commit | 10e36e17612ba9c634b140ae76847bb62b5be68f (patch) | |
tree | 0acb9c40f171c63df304a69704690501286e4f6a /tests/zfs-tests/include | |
parent | ccec7fbe1c66c5b63a3af9d152403ce43344f4ab (diff) |
Shorten arcstat_quiescence sleep time
With the latest L2ARC fixes, 2 seconds is too long to wait for
quiescence of arcstats like l2_size. Shorten this interval to avoid
having the persistent L2ARC tests in ZTS prematurely terminated.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #14981
Diffstat (limited to 'tests/zfs-tests/include')
-rw-r--r-- | tests/zfs-tests/include/libtest.shlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index 133f8387d..844caa17d 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -3706,7 +3706,7 @@ function arcstat_quiescence # stat echo while $do_once || [ $stat1 -ne $stat2 ] || [ $stat2 -eq 0 ]; do typeset stat1=$(get_arcstat $stat) - sleep 2 + sleep 0.5 typeset stat2=$(get_arcstat $stat) do_once=false done |