aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTino Reichardt <[email protected]>2024-08-06 16:48:45 +0200
committerBrian Behlendorf <[email protected]>2024-09-17 12:01:13 -0700
commit4999f49513219924a9d8081dee67e57ed7d4a7dc (patch)
tree990f46fe38b2396b3e7808f45f5454cdbc4d5142 /tests
parenta10e552b9992673626f7a2ffcc234337f23410c9 (diff)
ZTS: fix zpool_status_008_pos test on qemu vm's
The test needs some adjusting within the timings. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Co-authored-by: Tino Reichardt <[email protected]> Closes #16537
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh
index 6be2ad5a7..4fb900c73 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh
@@ -69,12 +69,12 @@ for raid_type in "draid2:3d:6c:1s" "raidz2"; do
log_mustnot eval "zpool status -e $TESTPOOL2 | grep ONLINE"
# Check no ONLINE slow vdevs are show. Then mark IOs greater than
- # 10ms slow, delay IOs 20ms to vdev6, check slow IOs.
+ # 160ms slow, delay IOs 320ms to vdev6, check slow IOs.
log_must check_vdev_state $TESTPOOL2 $TESTDIR/vdev6 "ONLINE"
log_mustnot eval "zpool status -es $TESTPOOL2 | grep ONLINE"
- log_must set_tunable64 ZIO_SLOW_IO_MS 10
- log_must zinject -d $TESTDIR/vdev6 -D20:100 $TESTPOOL2
+ log_must set_tunable64 ZIO_SLOW_IO_MS 160
+ log_must zinject -d $TESTDIR/vdev6 -D320:100 $TESTPOOL2
log_must mkfile 1048576 /$TESTPOOL2/testfile
sync_pool $TESTPOOL2
log_must set_tunable64 ZIO_SLOW_IO_MS $OLD_SLOW_IO